+2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/playback/gstplaybasebin.c: (queue_threshold_reached),
+ (finish_source):
+ Avoid crash when there are external subtitles (fixes #491722).
+
2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
* ext/alsa/gstalsasink.c: (gst_alsasink_open):
play_base_bin->queue_min_threshold, NULL);
}
+ GROUP_LOCK (play_base_bin);
+ group = get_active_group (play_base_bin);
+ if (!group) {
+ GROUP_UNLOCK (play_base_bin);
+ return;
+ }
+
/* we remove the probe now because we don't need it anymore to give progress
* about the buffering. */
- group = get_active_group (play_base_bin);
for (n = 0; n < NUM_TYPES; n++) {
GstElement *element = group->type[n].preroll;
queue_remove_probe (element, play_base_bin);
}
+ GROUP_UNLOCK (play_base_bin);
+
/* we post a 100% buffering message to notify the app that buffering is
* completed and playback can start/continue */
if (play_base_bin->is_stream)
static void
finish_source (GstPlayBaseBin * play_base_bin)
{
+ /* FIXME: no need to grab the group lock here? (tpm) */
if (get_active_group (play_base_bin) != NULL) {
if (play_base_bin->subtitle) {
/* make subs iterate from now on */