mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
vp8dec: set par to 1/1
This commit is contained in:
parent
929603d56c
commit
f9b552f049
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue