Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GStreamer
gst-plugins-bad
Commits
ca22a8e8
Commit
ca22a8e8
authored
Dec 09, 2014
by
Edward Hervey
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegdemux: minor debug update
Only show PTS/DTS when they are valid, and include the stream id
parent
9ebbce38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gst/mpegdemux/gstmpegdemux.c
gst/mpegdemux/gstmpegdemux.c
+4
-4
No files found.
gst/mpegdemux/gstmpegdemux.c
View file @
ca22a8e8
...
...
@@ -2241,18 +2241,18 @@ gst_ps_demux_data_cb (GstPESFilter * filter, gboolean first,
}
if
(
filter
->
pts
!=
-
1
)
{
demux
->
next_pts
=
filter
->
pts
+
demux
->
scr_adjust
;
GST_LOG_OBJECT
(
demux
,
"
PTS =
%"
G_GUINT64_FORMAT
"(%"
G_GUINT64_FORMAT
")"
,
filter
->
pts
,
demux
->
next_pts
);
GST_LOG_OBJECT
(
demux
,
"
stream 0x%02x PTS = orig
%"
G_GUINT64_FORMAT
"
(%"
G_GUINT64_FORMAT
")"
,
id
,
filter
->
pts
,
demux
->
next_pts
);
}
else
demux
->
next_pts
=
G_MAXUINT64
;
if
(
filter
->
dts
!=
-
1
)
{
demux
->
next_dts
=
filter
->
dts
+
demux
->
scr_adjust
;
GST_LOG_OBJECT
(
demux
,
"stream 0x%02x DTS = orig %"
G_GUINT64_FORMAT
" (%"
G_GUINT64_FORMAT
")"
,
id
,
filter
->
dts
,
demux
->
next_dts
);
}
else
{
demux
->
next_dts
=
demux
->
next_pts
;
}
GST_LOG_OBJECT
(
demux
,
"DTS = orig %"
G_GUINT64_FORMAT
" (%"
G_GUINT64_FORMAT
")"
,
filter
->
dts
,
demux
->
next_dts
);
demux
->
current_stream
=
gst_ps_demux_get_stream
(
demux
,
id
,
stream_type
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment