summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/matroska/matroska-mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index 45333f1f..4de8b1b2 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -451,8 +451,8 @@ gst_matroska_mux_video_pad_setcaps (GstPad * pad, GstCaps * caps)
videocontext->pixel_width = width;
videocontext->pixel_height = height;
context->default_duration = gst_util_uint64_scale_int (GST_SECOND,
- gst_value_get_fraction_numerator (framerate),
- gst_value_get_fraction_denominator (framerate));
+ gst_value_get_fraction_denominator (framerate),
+ gst_value_get_fraction_numerator (framerate));
ret = gst_structure_get_int (structure, "pixel_width", &pixel_width);
ret &= gst_structure_get_int (structure, "pixel_height", &pixel_height);