mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
mpeg2dec: minor formatting clean-up
This commit is contained in:
parent
40a470c785
commit
a3eaf04778
1 changed files with 3 additions and 5 deletions
|
@ -489,11 +489,9 @@ gst_mpeg2dec_negotiate_format (GstMpeg2dec * mpeg2dec)
|
|||
mpeg2dec->decoded_width, mpeg2dec->decoded_height);
|
||||
|
||||
if (mpeg2dec->pixel_width == 0 || mpeg2dec->pixel_height == 0) {
|
||||
GValue par = { 0, }
|
||||
, dar = {
|
||||
0,}
|
||||
, dimensions = {
|
||||
0,};
|
||||
GValue par = { 0, };
|
||||
GValue dar = { 0, };
|
||||
GValue dimensions = { 0, };
|
||||
|
||||
/* assume display aspect ratio (DAR) of 4:3 */
|
||||
g_value_init (&dar, GST_TYPE_FRACTION);
|
||||
|
|
Loading…
Reference in a new issue