GNOME Bugzilla – Bug 768366
amcvideodec: _gl_sync_render_unlocked error when setting play speed
Last modified: 2017-07-14 14:25:30 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 ?
Can you try with 1.8.2 and also provide a full debug log with GST_DEBUG=6?
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!