summaryrefslogtreecommitdiff
path: root/gst/videoparsers/gstmpeg4videoparse.c
diff options
context:
space:
mode:
authorChris Bass <floobleflam@gmail.com>2013-08-08 15:19:15 +0100
committerThiago Santos <thiago.sousa.santos@collabora.com>2013-08-16 10:22:21 -0300
commit19a45554bf3265018bed3f925baa0c404706a62b (patch)
tree0ea50e30f2a4d8d125b3b70d5c4223c0becbdb9c /gst/videoparsers/gstmpeg4videoparse.c
parent0a6ca026d1c28f00d4b024bab8276f7084ec8900 (diff)
downloadgstreamer-plugins-bad-19a45554bf3265018bed3f925baa0c404706a62b.tar.gz
dashdemux: remove incorrect timestamp scaling.
When using a SegmentTemplate element, the timestamps of the buffers output by dashdemux are incorrect, causing problems downstream. The reason is that GstMediaSegment start times are calculated (in gst_mpdparser_get_chunk_by_index) by multiplying segment index by segment duration and then scaling the result according the `timebase' attribute from the MPD. However, the segment duration is already a GstClockTime (i.e., it has already been scaled according to the timebase from the MPD and converted to a nanosecond value), so multiplying it by the segment index will give the correct timestamp without the need for any further scaling. https://bugzilla.gnome.org/show_bug.cgi?id=705679
Diffstat (limited to 'gst/videoparsers/gstmpeg4videoparse.c')
0 files changed, 0 insertions, 0 deletions