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>
|
2006-05-16 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* gst/autodetect/gstautoaudiosink.c:
|
* gst/autodetect/gstautoaudiosink.c:
|
||||||
|
|
|
@ -331,10 +331,8 @@ gst_pngenc_chain (GstPad * pad, GstBuffer * buf)
|
||||||
/* send EOS event, since a frame has been pushed out */
|
/* send EOS event, since a frame has been pushed out */
|
||||||
event = gst_event_new_eos ();
|
event = gst_event_new_eos ();
|
||||||
|
|
||||||
ret = gst_pad_push_event (pngenc->srcpad, event);
|
gst_pad_push_event (pngenc->srcpad, event);
|
||||||
|
ret = GST_FLOW_UNEXPECTED;
|
||||||
if (!(GST_FLOW_IS_FATAL (ret)))
|
|
||||||
ret = GST_FLOW_UNEXPECTED;
|
|
||||||
}
|
}
|
||||||
/* else if (pngenc->newmedia) { */
|
/* else if (pngenc->newmedia) { */
|
||||||
/* /\* send new media discont *\/ */
|
/* /\* send new media discont *\/ */
|
||||||
|
|
Loading…
Reference in a new issue