} else {
GST_DEBUG_OBJECT (dec, "unsupported format; ignoring");
GST_AUDIO_DECODER_STREAM_UNLOCK (dec);
+#ifdef TIZEN_FEATURE_AUDIODECODER_MODIFICATION
+ goto newseg_wrong_format;
+#else
gst_event_unref (event);
ret = FALSE;
+#endif
break;
}
}
break;
}
return ret;
+
+#ifdef TIZEN_FEATURE_AUDIODECODER_MODIFICATION
+newseg_wrong_format:
+ {
+ GST_DEBUG_OBJECT (dec, "received non TIME newsegment");
+ gst_event_unref (event);
+ /* SWALLOW EVENT */
+ return TRUE;
+ }
+#endif
}
static gboolean