vp8dec: set par to 1/1

This commit is contained in:
David Schleef 2011-06-03 19:36:59 -07:00
parent 929603d56c
commit f9b552f049

View file

@ -405,6 +405,8 @@ gst_vp8_dec_handle_frame (GstBaseVideoDecoder * decoder, GstVideoFrame * frame)
state->width = stream_info.w; state->width = stream_info.w;
state->height = stream_info.h; state->height = stream_info.h;
state->format = GST_VIDEO_FORMAT_I420; state->format = GST_VIDEO_FORMAT_I420;
state->par_n = 1;
state->par_d = 1;
gst_vp8_dec_send_tags (dec); gst_vp8_dec_send_tags (dec);
gst_base_video_decoder_set_src_caps (decoder); gst_base_video_decoder_set_src_caps (decoder);