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.
This commit is contained in:
Wim Taymans 2005-06-28 11:00:03 +00:00
parent d0bc038021
commit 1e38cab512
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-06-28 Wim Taymans <wim@fluendo.com>
* 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 <wingo@pobox.com>
* *.c: Don't cast to GstObject before reffing/unreffing.

View file

@ -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 {