[Bug 773521] gstplayer: add set accurate seek config API
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Oct 26 08:50:27 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=773521
--- Comment #1 from Lyon <lyon.wang at nxp.com> ---
Created attachment 338485
--> https://bugzilla.gnome.org/attachment.cgi?id=338485&action=edit
patch for add accurate seek
The reason why the set_seek_accurate API use GstPlayer *player as parameter
instead of * config, is that if using config, we have get_config() first and
then set_config() back, however for set_config(), only in STOPPED status it can
set successfully, so if we want to seek when playing (either accurate or
no-accurate), we have to call gst_player_stop() first, then set_config(). but
it takes time to change state to STOPPED which might cause set_config failed.
So here use GstPlayer *player as input parameter, so that we can set accurate
flag in player->config directly without have to stop the pipeline.
Please kindly find the attached file for the patch.
Thanks
Lyon
--
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