+2008-09-25 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ Patch by: ogg.k.ogg.k <ogg dot k dot ogg dot k at googlemail dot com>
+
+ * ext/theora/theoraparse.c: (theora_parse_set_streamheader):
+ Set the BOS flag on the BOS packet. Fixes #553244.
+
2008-09-23 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/rtsp/gstrtspmessage.c:
for (i = 0; i < 3; i++) {
ogg_packet packet;
GstBuffer *buf;
+ int ret;
buf = parse->streamheader[i];
gst_buffer_set_caps (buf, GST_PAD_CAPS (parse->srcpad));
packet.granulepos = GST_BUFFER_OFFSET_END (buf);
packet.packetno = i + 1;
packet.e_o_s = 0;
- theora_decode_header (&parse->info, &parse->comment, &packet);
+ packet.b_o_s = (i == 0);
+ ret = theora_decode_header (&parse->info, &parse->comment, &packet);
+ if (ret < 0) {
+ GST_WARNING_OBJECT (parse, "Failed to decode Theora header %d: %d\n",
+ i + 1, ret);
+ }
}
parse->fps_n = parse->info.fps_numerator;