Index: head/sysutils/xfburn/Makefile =================================================================== --- head/sysutils/xfburn/Makefile (revision 484457) +++ head/sysutils/xfburn/Makefile (revision 484458) @@ -1,44 +1,45 @@ # Created by: J.R. Oldroyd # $FreeBSD$ PORTNAME= xfburn PORTVERSION= 0.5.5 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= CD/DVD burning tool for Xfce LICENSE= GPLv2 LIB_DEPENDS= libburn.so:devel/libburn \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libisofs.so:devel/libisofs RUN_DEPENDS= cdrdao:sysutils/cdrdao \ ${LOCALBASE}/include/libburn/libburn.h:devel/libburn \ ${LOCALBASE}/include/libisofs/libisofs.h:devel/libisofs USES= pkgconfig gmake desktop-file-utils gettext-tools xfce tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= cairo intltool intlhack glib20 gtk20 USE_XFCE= libexo INSTALLS_ICONS= yes CONFIGURE_ARGS=--disable-gudev OPTIONS_DEFINE= GSTREAMER NLS OPTIONS_DEFAULT= GSTREAMER OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls GSTREAMER_USE= gstreamer1=yes,faac,flac,lame,vorbis,wavpack GSTREAMER_CONFIGURE_ENABLE= gstreamer post-patch: ${REINPLACE_CMD} -e 's|media-cdrom|media-optical|g' \ ${WRKSRC}/desktop-integration/thunar-sendto-xfburn.desktop.in \ ${WRKSRC}/xfburn.desktop.in .include Index: head/sysutils/xfburn/files/patch-xfburn_xfburn-transcoder-gst.c =================================================================== --- head/sysutils/xfburn/files/patch-xfburn_xfburn-transcoder-gst.c (nonexistent) +++ head/sysutils/xfburn/files/patch-xfburn_xfburn-transcoder-gst.c (revision 484458) @@ -0,0 +1,50 @@ +--- xfburn/xfburn-transcoder-gst.c.orig 2017-12-14 12:34:57 UTC ++++ xfburn/xfburn-transcoder-gst.c +@@ -221,8 +221,8 @@ xfburn_transcoder_gst_init (XfburnTranscoderGst * obj) + + /* if the mutex is locked, then we're not currently seeking + * information from gst */ ++ /* Actual locking in prepare and finish */ + g_mutex_init (&priv->gst_mutex); +- g_mutex_lock (&priv->gst_mutex); + + priv->discoverer = gst_discoverer_new(GST_SECOND, NULL); + } +@@ -492,19 +492,9 @@ bus_call (GstBus *bus, GstMessage *msg, gpointer data) + + if (strcmp (GST_OBJECT_NAME (GST_MESSAGE_SRC (msg)), "decoder") != 0) + break; +- +- if (!g_mutex_trylock (&priv->gst_mutex)) { +- g_critical ("Lock held by another thread, can't signal transcoding start!"); +- break; +- } else { +-#if DEBUG_GST > 0 +- DBG ("Locked mutex to signal transcoding start"); +-#endif +- } + + priv->gst_done = TRUE; + g_cond_signal (&priv->gst_cond); +- g_mutex_unlock (&priv->gst_mutex); + break; + } /* switch of priv->state */ + +@@ -835,6 +825,8 @@ prepare (XfburnTranscoder *trans, GError **error) + gboolean ret; + gint64 end_time; + ++ g_mutex_lock(&priv->gst_mutex); ++ + priv->tracks = g_slist_reverse (priv->tracks); + + priv->state = XFBURN_TRANSCODER_GST_STATE_TRANSCODE_START; +@@ -933,6 +925,8 @@ finish (XfburnTranscoder *trans) + } + */ + recreate_pipeline (gst); ++ ++ g_mutex_unlock (&priv->gst_mutex); + } + + Property changes on: head/sysutils/xfburn/files/patch-xfburn_xfburn-transcoder-gst.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property