diff options
author | marcus <marcus@FreeBSD.org> | 2004-04-05 07:47:59 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-04-05 07:47:59 +0000 |
commit | c1861c646455256401bbe47dc0b980c19411a000 (patch) | |
tree | 8e9f0e4bd9e50ab5d227174331e6cb5078faa489 /multimedia | |
parent | 0c763b80aa879378392cd4cbee6debfd79606fdb (diff) | |
download | FreeBSD-ports-c1861c646455256401bbe47dc0b980c19411a000.zip FreeBSD-ports-c1861c646455256401bbe47dc0b980c19411a000.tar.gz |
Remove a patch that is no longer needed.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/nautilus-media/files/patch-thumbnail_gst-thumbnail.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/multimedia/nautilus-media/files/patch-thumbnail_gst-thumbnail.c b/multimedia/nautilus-media/files/patch-thumbnail_gst-thumbnail.c deleted file mode 100644 index e1acf76..0000000 --- a/multimedia/nautilus-media/files/patch-thumbnail_gst-thumbnail.c +++ /dev/null @@ -1,36 +0,0 @@ -2004-03-20 Joe Marcus Clarke <marcus@FreeBSD.org> - -* thumbnail/gst-thumbnail.c (*global*), (end_of_snap), - (gst_thumbnail_pngenc_get): - -Make sure the pipeline has completely finished before quitting the main -gst event loop. ---- thumbnail/gst-thumbnail.c.orig Sat Mar 20 19:49:01 2004 -+++ thumbnail/gst-thumbnail.c Sat Mar 20 19:49:04 2004 -@@ -23,11 +23,13 @@ - #define TIMEOUT 9999 /* how long before we give up, msec */ - - gboolean finished = FALSE; -+gboolean can_finish = FALSE; - - void end_of_snap (GstElement *pipeline) - { - g_print ("Snapped.\n"); -- gst_element_set_state (pipeline, GST_STATE_READY); -+ gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL); -+ while (!can_finish) ; - gst_main_quit (); - finished = TRUE; - } -@@ -97,9 +99,9 @@ - /* commit suicide in due time if necessary */ - g_timeout_add (TIMEOUT, (GSourceFunc) timeout, pipeline); - g_idle_add ((GSourceFunc) iterator, pipeline); -- gst_main (); - -- gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL); -+ can_finish = TRUE; -+ gst_main (); - } - int - main (int argc, char *argv[]) |