use fakesink led to segment fault(andriodmedia) on android
lucky chou
shakin at outlook.com
Fri Aug 12 10:47:22 UTC 2016
Hi,I use 1.82.
Today, I tried to set playbin's video_sink to fakesink when I debug
someting,
unfortunately,Because self->surface==NULL,leads to a segment fault.
In gstamcvideodec.c
---------------------------------------
->gst_amc_video_dec_set_format()
if (!gst_amc_native_codec_configure (self->codec, format,
self->surface, 0,
&err)) {
GST_ERROR_OBJECT (self, "Failed to congst_amc_video_dec_set_src_caps
return nullfigure codec");
GST_ELEMENT_ERROR_FROM_ERROR (self, err);
return FALSE;
}
----------------------------------------
Though it's not a big problem,
But in PC platform other decoder theoretically are compatible with
fakesink,I think it should be missing a test case,
so this problem should be considered as a bug ?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/use-fakesink-led-to-segment-fault-andriodmedia-on-android-tp4679059.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list