Commit e39fa41d authored by Sebastian Dröge's avatar Sebastian Dröge

theoradec: Require caps to be set before data flow happens

parent 97784b15
......@@ -397,7 +397,12 @@ theora_handle_type_packet (GstTheoraDec * dec)
GstFlowReturn ret = GST_FLOW_OK;
GstVideoCodecState *state;
GstVideoFormat fmt;
GstVideoInfo *info = &dec->input_state->info;
GstVideoInfo *info;
if (!dec->input_state)
return GST_FLOW_NOT_NEGOTIATED;
info = &dec->input_state->info;
GST_DEBUG_OBJECT (dec, "fps %d/%d, PAR %d/%d",
dec->info.fps_numerator, dec->info.fps_denominator,
......
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