mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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.
This commit is contained in:
parent
8ae866e5c6
commit
8deb4fbd92
3 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-11-12 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/avi/gstavidemux.c:
|
||||
* gst/qtdemux/qtdemux.c:
|
||||
Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that
|
||||
previous commit messed up.
|
||||
|
||||
2007-11-12 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/avi/gstavidemux.c:
|
||||
|
|
|
@ -602,6 +602,11 @@ gst_avi_demux_handle_src_event (GstPad * pad, GstEvent * event)
|
|||
res = gst_avi_demux_handle_seek (avi, pad, event);
|
||||
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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue