gst_vp8_parser_init (&priv->parser);
priv->wait_keyframe = TRUE;
+ priv->had_sequence = FALSE;
+ priv->width = 0;
+ priv->height = 0;
priv->output_queue =
gst_queue_array_new_for_struct (sizeof (GstVp8DecoderOutputFrame), 1);
self->input_state = gst_video_codec_state_ref (state);
- priv->width = GST_VIDEO_INFO_WIDTH (&state->info);
- priv->height = GST_VIDEO_INFO_HEIGHT (&state->info);
-
query = gst_query_new_latency ();
if (gst_pad_peer_query (GST_VIDEO_DECODER_SINK_PAD (self), query))
gst_query_parse_latency (query, &priv->is_live, NULL, NULL);