mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
mpegtsmux: fix build error
after e000a6f0a4
, there is build error in bad plugins
this happens because, GST_CLOCK_STIME_IS_VALID () is being checked for pad_data
but it expects a GstClockTime parameter. Changing the check to 'dts'
https://bugzilla.gnome.org/show_bug.cgi?id=750961
This commit is contained in:
parent
f600a8ac9a
commit
95dd8d9662
1 changed files with 1 additions and 1 deletions
|
@ -1075,7 +1075,7 @@ mpegtsmux_clip_inc_running_time (GstCollectPads * pads,
|
||||||
else
|
else
|
||||||
dts = -((gint64) time);
|
dts = -((gint64) time);
|
||||||
|
|
||||||
if (GST_CLOCK_STIME_IS_VALID (pad_data))
|
if (!GST_CLOCK_TIME_IS_VALID (pad_data->min_dts))
|
||||||
pad_data->min_dts = dts;
|
pad_data->min_dts = dts;
|
||||||
|
|
||||||
if (dts < pad_data->min_dts) {
|
if (dts < pad_data->min_dts) {
|
||||||
|
|
Loading…
Reference in a new issue