mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
ext/theora/theoradec.c: Don't try to do anything fancy with the return code from pushing an event, it does not have e...
Original commit message from CVS: * ext/theora/theoradec.c: (theora_handle_type_packet), (theora_dec_chain): Don't try to do anything fancy with the return code from pushing an event, it does not have enough information to turn it into a GST_FLOW_ERROR.
This commit is contained in:
parent
ac5bff82c5
commit
495f45b245
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-04-03 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* ext/theora/theoradec.c: (theora_handle_type_packet),
|
||||||
|
(theora_dec_chain):
|
||||||
|
Don't try to do anything fancy with the return code from pushing an
|
||||||
|
event, it does not have enough information to turn it into a
|
||||||
|
GST_FLOW_ERROR.
|
||||||
|
|
||||||
2008-04-03 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-04-03 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_reset),
|
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_reset),
|
||||||
|
|
|
@ -866,8 +866,6 @@ theora_handle_type_packet (GstTheoraDec * dec, ogg_packet * packet)
|
||||||
dec->segment.format, dec->segment.start, dec->segment.stop,
|
dec->segment.format, dec->segment.start, dec->segment.stop,
|
||||||
dec->segment.time);
|
dec->segment.time);
|
||||||
eret = gst_pad_push_event (dec->srcpad, event);
|
eret = gst_pad_push_event (dec->srcpad, event);
|
||||||
if (!eret)
|
|
||||||
ret = GST_FLOW_ERROR;
|
|
||||||
dec->sent_newsegment = TRUE;
|
dec->sent_newsegment = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1451,7 +1449,7 @@ theora_dec_chain (GstPad * pad, GstBuffer * buf)
|
||||||
dec = GST_THEORA_DEC (gst_pad_get_parent (pad));
|
dec = GST_THEORA_DEC (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
/* peel of DISCONT flag */
|
/* peel of DISCONT flag */
|
||||||
discont = GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
discont = GST_BUFFER_IS_DISCONT (buf);
|
||||||
|
|
||||||
/* resync on DISCONT */
|
/* resync on DISCONT */
|
||||||
if (G_UNLIKELY (discont)) {
|
if (G_UNLIKELY (discont)) {
|
||||||
|
|
Loading…
Reference in a new issue