mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gst/mpegdemux/gstmpegdemux.c: Initialize scr_rate_n and scr_rate_d in order to fix compiler warnings.
Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: Initialize scr_rate_n and scr_rate_d in order to fix compiler warnings.
This commit is contained in:
parent
71fc2ce3b4
commit
1d71d95218
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-02 Alessandro Decina <alessandro.d@gmail.com>
|
||||
|
||||
* gst/mpegdemux/gstmpegdemux.c:
|
||||
Initialize scr_rate_n and scr_rate_d in order to fix compiler warnings.
|
||||
|
||||
2008-12-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/mxf/mxfaes-bwf.c: (mxf_bwf_handle_essence_element),
|
||||
|
|
|
@ -1140,6 +1140,9 @@ gst_flups_demux_parse_pack_start (GstFluPSDemux * demux)
|
|||
/* estimate byte rate related to the SCR */
|
||||
scr_rate_n = demux->last_scr_offset - demux->first_scr_offset;
|
||||
scr_rate_d = scr_adjusted - demux->first_scr;
|
||||
} else {
|
||||
scr_rate_n = demux->scr_rate_n;
|
||||
scr_rate_d = demux->scr_rate_d;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (demux, "%s mode scr: %" G_GUINT64_FORMAT " at %"
|
||||
|
|
Loading…
Reference in a new issue