diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2007-11-12 17:21:59 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2007-11-12 17:21:59 +0000 |
commit | 8deb4fbd925656c38ad5b6553769e524e707dba9 (patch) | |
tree | 2a9474d1327ba74ca6798c8b0ae25f457a322975 /gst/qtdemux | |
parent | 8ae866e5c6ea204034e9fb371a66db2d34dbabec (diff) |
gst/: Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that previous commit messed up.
Original commit message from CVS:
* gst/avi/gstavidemux.c:
* gst/qtdemux/qtdemux.c:
Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that
previous commit messed up.
Diffstat (limited to 'gst/qtdemux')
-rw-r--r-- | gst/qtdemux/qtdemux.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 169862f6..63dc97ec 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -842,14 +842,19 @@ gst_qtdemux_handle_src_event (GstPad * pad, GstEvent * event) GST_DEBUG_OBJECT (qtdemux, "cannot seek in streaming mode"); res = FALSE; } - gst_object_unref (qtdemux); + gst_event_unref (event); + break; + case GST_EVENT_QOS: + case GST_EVENT_NAVIGATION: + res = FALSE; + gst_event_unref (event); break; default: res = gst_pad_event_default (pad, event); break; } - gst_event_unref (event); + gst_object_unref (qtdemux); return res; } |