mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
resindvsrc: Don't use the GST_EVENT_TIMESTAMP
Store a PTS of a highlight event directly into the event structure, rather than the GST_EVENT_TIMESTAMP that will probably be removed in GStreamer 2.0, and is hardly used. https://bugzilla.gnome.org/show_bug.cgi?id=761477
This commit is contained in:
parent
0869c06f9d
commit
1b6cc98aa5
1 changed files with 2 additions and 1 deletions
|
@ -2207,7 +2207,8 @@ rsn_dvdsrc_update_highlight (resinDvdSrc * src)
|
|||
if (src->active_button < 1) {
|
||||
/* When setting the button for the first time, take the
|
||||
timestamp into account. */
|
||||
GST_EVENT_TIMESTAMP (event) = MPEGTIME_TO_GSTTIME (area.pts);
|
||||
gst_structure_set (s, "ts", GST_TYPE_CLOCK_TIME,
|
||||
MPEGTIME_TO_GSTTIME (area.pts), NULL);
|
||||
}
|
||||
|
||||
src->active_button = button;
|
||||
|
|
Loading…
Reference in a new issue