diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-12-11 13:59:33 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-12-11 13:59:33 +0000 |
commit | 0d3b023699640dc2866a2edba8c910ddf54c290e (patch) | |
tree | 50ff01f9d216a8235c3508dc323a7de032db1a10 /gst/matroska/matroska-ids.h | |
parent | 2f992c783ef619eabc8baec272bf71c3397051d6 (diff) |
gst/matroska/: Try harder to extract the framerate for video tracks correctly and save it directly instead of convert...
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_video_caps):
* gst/matroska/matroska-ids.c:
(gst_matroska_track_init_video_context):
* gst/matroska/matroska-ids.h:
Try harder to extract the framerate for video tracks correctly and
save it directly instead of converting it back and forth a few
times. Mostly makes a difference for very small framerates (<1).
Fixes #380199.
Diffstat (limited to 'gst/matroska/matroska-ids.h')
-rw-r--r-- | gst/matroska/matroska-ids.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/matroska/matroska-ids.h b/gst/matroska/matroska-ids.h index 5a5e5722..e570599d 100644 --- a/gst/matroska/matroska-ids.h +++ b/gst/matroska/matroska-ids.h @@ -292,8 +292,9 @@ typedef struct _GstMatroskaTrackContext { typedef struct _GstMatroskaTrackVideoContext { GstMatroskaTrackContext parent; - guint pixel_width, pixel_height, - display_width, display_height; + guint pixel_width, pixel_height; + guint display_width, display_height; + gdouble default_fps; GstMatroskaEyeMode eye_mode; GstMatroskaAspectRatioMode asr_mode; guint32 fourcc; |