[packages/gstreamer0.10-plugins-ugly: 16/46] - no longer needed
qboosh
qboosh at pld-linux.org
Fri Oct 5 16:52:32 CEST 2012
commit ba94bd182a251e1fc833eb097896c4a97f2b7891
Author: Patryk Zawadzki <patrys at room-303.com>
Date: Thu Feb 21 12:40:19 2008 +0000
- no longer needed
Changed files:
gstreamer-plugins-ugly-dvdread.patch -> 1.2
gstreamer-plugins-ugly-mpegaudioparse.patch -> 1.2
gstreamer-plugins-ugly-dvdread.patch | 32 ----------------
gstreamer-plugins-ugly-mpegaudioparse.patch | 57 -----------------------------
2 files changed, 89 deletions(-)
---
diff --git a/gstreamer-plugins-ugly-dvdread.patch b/gstreamer-plugins-ugly-dvdread.patch
deleted file mode 100644
index c867f4f..0000000
--- a/gstreamer-plugins-ugly-dvdread.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -up gst-plugins-ugly-0.10.6/ext/dvdread/dvdreadsrc.c.dvdread gst-plugins-ugly-0.10.6/ext/dvdread/dvdreadsrc.c
---- gst-plugins-ugly-0.10.6/ext/dvdread/dvdreadsrc.c.dvdread 2007-12-18 14:48:23.000000000 +0100
-+++ gst-plugins-ugly-0.10.6/ext/dvdread/dvdreadsrc.c 2007-12-18 14:48:58.000000000 +0100
-@@ -777,21 +777,21 @@ again:
- }
-
- /* read NAV packet */
--nav_retry:
--
- len = DVDReadBlocks (src->dvd_title, src->cur_pack, 1, oneblock);
-- if (len == 0)
-+ if (len != 1)
- goto read_error;
-
- if (!gst_dvd_read_src_is_nav_pack (oneblock)) {
-- GST_LOG_OBJECT (src, "Skipping nav packet @ pack %d", src->cur_pack);
-- src->cur_pack++;
-- goto nav_retry;
-+ GST_LOG_OBJECT (src, "Expected nav packet @ pack %d", src->cur_pack);
-+ goto read_error;
- }
-
- /* parse the contained dsi packet */
- navRead_DSI (&dsi_pack, &oneblock[DSI_START_BYTE]);
-- g_assert (src->cur_pack == dsi_pack.dsi_gi.nv_pck_lbn);
-+ if (src->cur_pack != dsi_pack.dsi_gi.nv_pck_lbn) {
-+ GST_ERROR ("src->cur_pack = %d, dsi_pack.dsi_gi.nv_pck_lbn = %d",
-+ src->cur_pack, dsi_pack.dsi_gi.nv_pck_lbn);
-+ }
-
- /* determine where we go next. These values are the ones we
- * mostly care about */
diff --git a/gstreamer-plugins-ugly-mpegaudioparse.patch b/gstreamer-plugins-ugly-mpegaudioparse.patch
deleted file mode 100644
index a4a4219..0000000
--- a/gstreamer-plugins-ugly-mpegaudioparse.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -up gst-plugins-ugly-0.10.6/gst/mpegaudioparse/gstmpegaudioparse.h.orig gst-plugins-ugly-0.10.6/gst/mpegaudioparse/gstmpegaudioparse.h
---- gst-plugins-ugly-0.10.6/gst/mpegaudioparse/gstmpegaudioparse.h.orig 2007-06-13 11:21:26.000000000 +0200
-+++ gst-plugins-ugly-0.10.6/gst/mpegaudioparse/gstmpegaudioparse.h 2007-09-02 15:05:01.000000000 +0200
-@@ -82,6 +82,9 @@ struct _GstMPEGAudioParse {
- guchar xing_seek_table[100];
- guint32 xing_vbr_scale;
- guint xing_bitrate;
-+
-+ /* pending segment */
-+ GstEvent *pending_segment;
- };
-
- struct _GstMPEGAudioParseClass {
-diff -up gst-plugins-ugly-0.10.6/gst/mpegaudioparse/gstmpegaudioparse.c.orig gst-plugins-ugly-0.10.6/gst/mpegaudioparse/gstmpegaudioparse.c
---- gst-plugins-ugly-0.10.6/gst/mpegaudioparse/gstmpegaudioparse.c.orig 2007-06-13 11:21:26.000000000 +0200
-+++ gst-plugins-ugly-0.10.6/gst/mpegaudioparse/gstmpegaudioparse.c 2007-09-02 15:04:25.000000000 +0200
-@@ -329,6 +329,7 @@ gst_mp3parse_sink_event (GstPad * pad, G
- {
- gboolean res;
- GstMPEGAudioParse *mp3parse;
-+ GstEvent **eventp;
-
- mp3parse = GST_MP3PARSE (gst_pad_get_parent (pad));
-
-@@ -379,12 +380,18 @@ gst_mp3parse_sink_event (GstPad * pad, G
- GST_DEBUG_OBJECT (mp3parse, "Pushing newseg rate %g, applied rate %g, "
- "format %d, start %lld, stop %lld, pos %lld\n",
- rate, applied_rate, format, start, stop, pos);
-- res = gst_pad_push_event (mp3parse->srcpad, event);
-+ /* save the segment for later, right before we push a new buffer so that
-+ * the caps are fixed and the next linked element can receive the segment. */
-+ eventp = &mp3parse->pending_segment;
-+ gst_event_replace (eventp, event);
-+ res = TRUE;
- break;
- }
- case GST_EVENT_FLUSH_STOP:
- /* Clear our adapter and set up for a new position */
- gst_adapter_clear (mp3parse->adapter);
-+ eventp = &mp3parse->pending_segment;
-+ gst_event_replace (eventp, NULL);
- res = gst_pad_push_event (mp3parse->srcpad, event);
- break;
- default:
-@@ -483,6 +490,12 @@ gst_mp3parse_emit_frame (GstMPEGAudioPar
- mp3parse->srcpad, taglist);
- }
-
-+ /* push any pending segment now */
-+ if (mp3parse->pending_segment) {
-+ gst_pad_push_event (mp3parse->srcpad, mp3parse->pending_segment);
-+ mp3parse->pending_segment = NULL;
-+ }
-+
- return gst_pad_push (mp3parse->srcpad, outbuf);
- }
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gstreamer0.10-plugins-ugly.git/commitdiff/7500845ff8f8f8607350113332e067b8fea74bbe
More information about the pld-cvs-commit
mailing list