[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9924: libmedia:
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9924: libmedia: |
Date: |
Sun, 05 Oct 2008 02:11:29 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9924
committer: Bastiaan Jacques <address@hidden>
branch nick: trunk
timestamp: Sun 2008-10-05 02:11:29 +0200
message:
libmedia:
Makefile.am: Stop building SoundHandlerGst and SoundGst.
MediaParser.cpp: In waitIfNeeded(), check that thread kill has not been
requested. Previously, if the kill was requested, and the parser
thread subsequently called pushEncoded{Audio,Video}Frame,
waitIfNeeded() could again lock, which caused a deadlock.
MediaParser.cpp: Move thread::join() out of the destructor. As the
destructor is run *after* the child constructor (i.e,
~MediaParser{Gst,Ffmpeg}), the parser thread, will be running after
the child destructor has finished. If the parser thread then attempts
to access the child data (which is expected), Pandora's box opens. Now,
every user of MediaParser must call join() before it destroys the
MediaParser object.
MediaParser.h: Add extra data fields to encoded frame classes. Should be
done more cleanly in the future.
gst/AudioDecoderGst.{cpp,h}: Clean up. Also, make sure that all the buffers
available after the data push in decode() are accumulated and returned.
Should fix some audio issues.
gst/MediaHandlerGst.cpp: Start using MediaParserGst.
gst/MediaParserGst.{cpp,h}: New Gstreamer based MediaParser
implementation. Should theoretically work even with Debian stable.
gst/VideoDecoderGst.{cpp,h}: Reimplement (and simplify) using swfdec's
Gstreamer bindings.
gst/swfdec_codec_gst.{c,h}: Make specializations of the factory finder
for other types of factories, such as parsers and demuxers.
libcore/asobj:
Makefile.am: Stop building Sound's child classes.
Sound.{h,cpp}: Merge SoundFFmpeg. Call MediaParser::join() before its
destructor is called.
NetStream.cpp: call MediaParser::join() before its destructor is called.
added:
libmedia/gst/MediaParserGst.cpp
libmedia/gst/MediaParserGst.h
modified:
libcore/asobj/Makefile.am
libcore/asobj/NetStream.cpp
libcore/asobj/Sound.cpp
libcore/asobj/Sound.h
libmedia/Makefile.am
libmedia/MediaParser.cpp
libmedia/MediaParser.h
libmedia/gst/AudioDecoderGst.cpp
libmedia/gst/AudioDecoderGst.h
libmedia/gst/MediaHandlerGst.cpp
libmedia/gst/VideoDecoderGst.cpp
libmedia/gst/VideoDecoderGst.h
libmedia/gst/swfdec_codec_gst.c
libmedia/gst/swfdec_codec_gst.h
------------------------------------------------------------
revno: 9922.1.1
committer: Bastiaan Jacques <address@hidden>
branch nick: gst-release
timestamp: Sun 2008-10-05 02:08:38 +0200
message:
libmedia:
Makefile.am: Stop building SoundHandlerGst and SoundGst.
MediaParser.cpp: In waitIfNeeded(), check that thread kill has not been
requested. Previously, if the kill was requested, and the parser
thread subsequently called pushEncoded{Audio,Video}Frame,
waitIfNeeded() could again lock, which caused a deadlock.
MediaParser.cpp: Move thread::join() out of the destructor. As the
destructor is run *after* the child constructor (i.e,
~MediaParser{Gst,Ffmpeg}), the parser thread, will be running after
the child destructor has finished. If the parser thread then attempts
to access the child data (which is expected), Pandora's box opens.
Now,
every user of MediaParser must call join() before it destroys the
MediaParser object.
MediaParser.h: Add extra data fields to encoded frame classes. Should be
done more cleanly in the future.
gst/AudioDecoderGst.{cpp,h}: Clean up. Also, make sure that all the
buffers
available after the data push in decode() are accumulated and
returned.
Should fix some audio issues.
gst/MediaHandlerGst.cpp: Start using MediaParserGst.
gst/MediaParserGst.{cpp,h}: New Gstreamer based MediaParser
implementation. Should theoretically work even with Debian stable.
gst/VideoDecoderGst.{cpp,h}: Reimplement (and simplify) using swfdec's
Gstreamer bindings.
gst/swfdec_codec_gst.{c,h}: Make specializations of the factory finder
for other types of factories, such as parsers and demuxers.
libcore/asobj:
Makefile.am: Stop building Sound's child classes.
Sound.{h,cpp}: Merge SoundFFmpeg. Call MediaParser::join() before its
destructor is called.
NetStream.cpp: call MediaParser::join() before its destructor is called.
added:
libmedia/gst/MediaParserGst.cpp
libmedia/gst/MediaParserGst.h
modified:
libcore/asobj/Makefile.am
libcore/asobj/NetStream.cpp
libcore/asobj/Sound.cpp
libcore/asobj/Sound.h
libmedia/Makefile.am
libmedia/MediaParser.cpp
libmedia/MediaParser.h
libmedia/gst/AudioDecoderGst.cpp
libmedia/gst/AudioDecoderGst.h
libmedia/gst/MediaHandlerGst.cpp
libmedia/gst/VideoDecoderGst.cpp
libmedia/gst/VideoDecoderGst.h
libmedia/gst/swfdec_codec_gst.c
libmedia/gst/swfdec_codec_gst.h
Diff too large for email (2294 lines, the limit is 1000).
- [Gnash-commit] /srv/bzr/gnash/trunk r9924: libmedia:,
Bastiaan Jacques <=