From 1e38cab512a2d60b6e0ad8cd2384ac451a2a15f9 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 28 Jun 2005 11:00:03 +0000 Subject: [PATCH] ext/ogg/gstoggdemux.c: If we're building a chain we are not in an error case when we queue a buffer. Original commit message from CVS: * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet): If we're building a chain we are not in an error case when we queue a buffer. --- ChangeLog | 6 ++++++ ext/ogg/gstoggdemux.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index f5da9f13bf..70bdda66c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-06-28 Wim Taymans + + * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet): + If we're building a chain we are not in an error case + when we queue a buffer. + 2005-06-28 Andy Wingo * *.c: Don't cast to GstObject before reffing/unreffing. diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index d03948902f..6e2fe13572 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -661,6 +661,8 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet) GST_BUFFER_OFFSET (buf) = -1; GST_BUFFER_OFFSET_END (buf) = packet->granulepos; pad->headers = g_list_append (pad->headers, buf); + /* we are ok now */ + ret = GST_FLOW_OK; } } } else {