move package gst-plugins-ugly:

- no more need, move to pkg-archive branch
This commit is contained in:
Stephan Raue 2009-10-22 08:17:39 +02:00
parent 8ba16c2efd
commit 4439eb89d8
4 changed files with 0 additions and 177 deletions

View File

@ -1,61 +0,0 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build gstreamer
$SCRIPTS/build gst-plugins-base
$SCRIPTS/build liboil
$SCRIPTS/build a52dec
$SCRIPTS/build libcdio
$SCRIPTS/build libdvdread
$SCRIPTS/build libdvdnav
$SCRIPTS/build lame
$SCRIPTS/build libmad
$SCRIPTS/build libmpeg2
$SCRIPTS/build libid3tag
$SCRIPTS/build twolame
#$SCRIPTS/build x264
#$SCRIPTS/build libsidplay
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-shared \
--disable-debug \
--disable-profiling \
--disable-examples \
--enable-external \
--disable-experimental \
--disable-gtk-doc \
--enable-asfdemux \
--enable-dvdlpcmdec \
--enable-dvdsub \
--enable-iec958 \
--enable-mpegaudioparse \
--enable-mpegstream \
--enable-realmedia \
--enable-synaesthesia \
\
--enable-a52dec \
--disable-amrnb \
--enable-cdio \
--enable-dvdread \
--enable-dvdnav \
--enable-lame \
--enable-id3tag \
--enable-mad \
--enable-mpeg2dec \
--disable-sidplay \
--enable-twolame \
--disable-x264 \
--enable-shave \
make
$MAKEINSTALL

View File

@ -1,12 +0,0 @@
#!/bin/sh
. config/options
$SCRIPTS/install gstreamer
$SCRIPTS/install gst-plugins-base
$SCRIPTS/install libcdio
$SCRIPTS/install libdvdnav
$SCRIPTS/install libdvdread
mkdir -p $INSTALL/usr/lib/gstreamer-0.10
cp -PR `find $PKG_BUILD/{ext,gst} -name *.so` $INSTALL/usr/lib/gstreamer-0.10

View File

@ -1,103 +0,0 @@
diff -up gst-plugins-ugly-0.10.10/ext/mad/gstmad.c.foo gst-plugins-ugly-0.10.10/ext/mad/gstmad.c
--- gst-plugins-ugly-0.10.10/ext/mad/gstmad.c.foo 2008-11-08 15:48:46.000000000 +0100
+++ gst-plugins-ugly-0.10.10/ext/mad/gstmad.c 2008-12-29 11:15:19.000000000 +0100
@@ -811,10 +811,10 @@ gst_mad_src_event (GstPad * pad, GstEven
mad = GST_MAD (GST_PAD_PARENT (pad));
switch (GST_EVENT_TYPE (event)) {
+ /* the all-formats seek logic */
case GST_EVENT_SEEK:
- /* the all-formats seek logic, ref the event, we need it later */
gst_event_ref (event);
- if (!(res = gst_pad_push_event (mad->sinkpad, event))) {
+ if (!(res = gst_pad_event_default (pad, event))) {
#ifndef GST_DISABLE_INDEX
if (mad->index)
res = index_seek (mad, pad, event);
@@ -822,13 +822,14 @@ gst_mad_src_event (GstPad * pad, GstEven
#endif
res = normal_seek (mad, pad, event);
}
- gst_event_unref (event);
break;
+
default:
- res = gst_pad_push_event (mad->sinkpad, event);
+ res = FALSE;
break;
}
+ gst_event_unref (event);
return res;
}
@@ -1288,7 +1289,6 @@ gst_mad_chain (GstPad * pad, GstBuffer *
guint8 *data;
glong size, tempsize;
gboolean new_pts = FALSE;
- gboolean discont;
GstClockTime timestamp;
GstFlowReturn result = GST_FLOW_OK;
@@ -1300,9 +1300,6 @@ gst_mad_chain (GstPad * pad, GstBuffer *
GST_DEBUG ("mad restarted");
}
- /* take discont flag */
- discont = GST_BUFFER_IS_DISCONT (buffer);
-
timestamp = GST_BUFFER_TIMESTAMP (buffer);
GST_DEBUG ("mad in timestamp %" GST_TIME_FORMAT, GST_TIME_ARGS (timestamp));
@@ -1338,10 +1335,6 @@ gst_mad_chain (GstPad * pad, GstBuffer *
gint tocopy;
guchar *mad_input_buffer; /* convenience pointer to tempbuffer */
- if (mad->tempsize == 0 && discont) {
- mad->discont = TRUE;
- discont = FALSE;
- }
tocopy =
MIN (MAD_BUFFER_MDLEN, MIN (size,
MAD_BUFFER_MDLEN * 3 - mad->tempsize));
@@ -1633,7 +1626,6 @@ gst_mad_chain (GstPad * pad, GstBuffer *
GST_BUFFER_TIMESTAMP (outbuffer) = time_offset;
GST_BUFFER_DURATION (outbuffer) = time_duration;
GST_BUFFER_OFFSET (outbuffer) = mad->total_samples;
- GST_BUFFER_OFFSET_END (outbuffer) = mad->total_samples + nsamples;
/* output sample(s) in 16-bit signed native-endian PCM */
if (mad->channels == 1) {
@@ -1657,13 +1649,6 @@ gst_mad_chain (GstPad * pad, GstBuffer *
"pushing buffer, off=%" G_GUINT64_FORMAT ", ts=%" GST_TIME_FORMAT,
GST_BUFFER_OFFSET (outbuffer),
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (outbuffer)));
-
- /* apply discont */
- if (mad->discont) {
- GST_BUFFER_FLAG_SET (outbuffer, GST_BUFFER_FLAG_DISCONT);
- mad->discont = FALSE;
- }
-
mad->segment.last_stop = GST_BUFFER_TIMESTAMP (outbuffer);
result = gst_pad_push (mad->srcpad, outbuffer);
if (result != GST_FLOW_OK) {
@@ -1687,10 +1672,6 @@ gst_mad_chain (GstPad * pad, GstBuffer *
mad->bytes_consumed = 0;
}
tempsize = 0;
- if (discont) {
- mad->discont = TRUE;
- discont = FALSE;
- }
if (gst_mad_check_restart (mad)) {
goto end;
@@ -1742,7 +1723,6 @@ gst_mad_change_state (GstElement * eleme
mad_frame_init (&mad->frame);
mad_synth_init (&mad->synth);
mad->tempsize = 0;
- mad->discont = TRUE;
mad->total_samples = 0;
mad->rate = 0;
mad->channels = 0;

View File

@ -1 +0,0 @@
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-0.10.12.tar.bz2