[Bug 795290] New: gstplayer: not be able to set_seek_accurate() in playing state after API changing.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Apr 16 08:29:04 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795290
Bug ID: 795290
Summary: gstplayer: not be able to set_seek_accurate() in
playing state after API changing.
Classification: Platform
Product: GStreamer
Version: 1.14.0
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lyon.wang at nxp.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hi Slomo,
I was doing the upgrade of GST1.12 to GST1.14 recently. And I noticed that
gstplayer API gst_player_config_set_seek_accurate() is changed from
gst_player_config_set_seek_accurate (GstPlayer * self, gboolean accurate) to
gst_player_config_set_seek_accurate (GstStructure * config, gboolean accurate)
on GST1.14
So in GST1.14, if we need to set accurate seek flag, we need to _get_config(),
and after set_accurate_seek(), then _set_config() back.
However, in _set_config(), it only allows config setting when app_state is
STOPPED.
But actually when we trying to seek to some point when playing, we prefer not
stop playing first and then switch back to playing again, we just
set_aacurate_seek flag and do seek.
in previous GST1.12, we just need set_accurate_seek flag and then seek.
Do you have any suggestion for this issue?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list