mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 13:48:55 +00:00
ext/libpng/gstpngenc.c: In snapshot mode, we always return GST_FLOW_UNEXPECTED whatever the return value of gst_pad_p...
Original commit message from CVS: * ext/libpng/gstpngenc.c: (gst_pngenc_chain): In snapshot mode, we always return GST_FLOW_UNEXPECTED whatever the return value of gst_pad_push_event().
This commit is contained in:
parent
6ac3f840db
commit
e57d09e835
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-05-16 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* ext/libpng/gstpngenc.c: (gst_pngenc_chain):
|
||||
In snapshot mode, we always return GST_FLOW_UNEXPECTED whatever the
|
||||
return value of gst_pad_push_event().
|
||||
|
||||
2006-05-16 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/autodetect/gstautoaudiosink.c:
|
||||
|
|
|
@ -331,9 +331,7 @@ gst_pngenc_chain (GstPad * pad, GstBuffer * buf)
|
|||
/* send EOS event, since a frame has been pushed out */
|
||||
event = gst_event_new_eos ();
|
||||
|
||||
ret = gst_pad_push_event (pngenc->srcpad, event);
|
||||
|
||||
if (!(GST_FLOW_IS_FATAL (ret)))
|
||||
gst_pad_push_event (pngenc->srcpad, event);
|
||||
ret = GST_FLOW_UNEXPECTED;
|
||||
}
|
||||
/* else if (pngenc->newmedia) { */
|
||||
|
|
Loading…
Reference in a new issue