brasero r728 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r728 - in trunk: . src
- Date: Thu, 17 Apr 2008 15:11:23 +0100 (BST)
Author: philippr
Date: Thu Apr 17 15:11:16 2008
New Revision: 728
URL: http://svn.gnome.org/viewvc/brasero?rev=728&view=rev
Log:
Avoid crashing with unsupported video (#527911 â Brasero crashes when browsing files)
* src/brasero-metadata.c (brasero_metadata_new_decoded_pad_cb):
Modified:
trunk/ChangeLog
trunk/src/brasero-metadata.c
Modified: trunk/src/brasero-metadata.c
==============================================================================
--- trunk/src/brasero-metadata.c (original)
+++ trunk/src/brasero-metadata.c Thu Apr 17 15:11:16 2008
@@ -585,7 +585,7 @@
static void
brasero_metadata_new_decoded_pad_cb (GstElement *decode,
GstPad *pad,
- gboolean arg2,
+ gboolean is_lastpad, /* deprecated */
BraseroMetadata *self)
{
GstPad *sink;
@@ -599,7 +599,7 @@
res = GST_PAD_LINK_REFUSED;
BRASERO_BURN_LOG ("new pad");
sink = gst_element_get_pad (priv->first, "sink");
- if (GST_PAD_IS_LINKED (sink))
+ if (!sink || GST_PAD_IS_LINKED (sink))
return;
/* make sure that this is audio / video */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]