gstplayer: not be able to set_seek_accurate() in playing state after API changing.
Submitted by Lyon
Link to original bug (#795290)
Description
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?
Version: 1.14.0