After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768366 - amcvideodec: _gl_sync_render_unlocked error when setting play speed
amcvideodec: _gl_sync_render_unlocked error when setting play speed
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.8.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-07-04 09:59 UTC by ereate
Modified: 2017-07-14 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ereate 2016-07-04 09:59:37 UTC
this is my code :

EXPORT_API void gub_pipeline_set_play_video_speed(GUBPipeline *pipeline, gdouble speed)
{
	gint64 position = GST_CLOCK_TIME_NONE;
	GstEvent *seek_event;

	gub_log_pipeline(pipeline, "ereate:: Setting play speed to %g", speed);
    gst_element_query_position(pipeline->pipeline, GST_FORMAT_TIME, &position);

	if(speed>0)
	{
		seek_event=gst_event_new_seek(speed,GST_FORMAT_TIME,GST_SEEK_FLAG_FLUSH|GST_SEEK_FLAG_ACCURATE,
			GST_SEEK_TYPE_SET,position,GST_SEEK_TYPE_NONE,GST_CLOCK_TIME_NONE);
	}
	else
	{
		seek_event=gst_event_new_seek(speed,GST_FORMAT_TIME,GST_SEEK_FLAG_FLUSH|GST_SEEK_FLAG_ACCURATE,
			GST_SEEK_TYPE_SET,0,GST_SEEK_TYPE_SET,position);
	}

	if(seek_event==NULL)
	{
		gub_log_pipeline(pipeline,"ereate:: gub_pipeline_set_volume(): get seek_event failled....");
		return ;
	}

	if(pipeline->video_sink ==NULL)
	{
    	//GstElement
		//sink = gst_bin_get_by_name(GST_BIN(vsink), "sink");
		g_object_get(pipeline->pipeline,"video-sink",&(pipeline->video_sink),NULL);
		if(pipeline->video_sink == NULL)
		{
			gub_log_pipeline(pipeline,"ereate:: gub_pipeline_set_volume(): get video_sink failled....");
			return ;
		}
	}

	gst_element_send_event(pipeline->video_sink,seek_event);
}


when I call the function "gub_pipeline_set_play_video_speed", the video stop to play video .

The Log:
  GStreamer encountered a general supporting library error. (gstamcvideodec.c(1020): _gl_sync_render_unlocked (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAmcVideoDec-OmxQcomVideoDecod.

could you help me to solve the problem ?
Comment 1 Sebastian Dröge (slomo) 2016-07-04 10:30:52 UTC
Can you try with 1.8.2 and also provide a full debug log with GST_DEBUG=6?
Comment 2 Matthew Waters (ystreet00) 2017-07-14 14:25:30 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in comment 1.
Thanks!