Commit e24196ae authored by Olivier Crête's avatar Olivier Crête 👻

theoradec: Drop ignored headers

Instead of finishing an empty frame, call drop_frame as we're
ignoring the header frame.
parent f8858297
......@@ -789,6 +789,7 @@ theora_dec_decode_buffer (GstTheoraDec * dec, GstBuffer * buf,
if (packet.bytes && packet.packet[0] & 0x80) {
if (dec->have_header) {
GST_WARNING_OBJECT (GST_OBJECT (dec), "Ignoring header");
goto done;
result = theora_handle_header_packet (dec, &packet);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment