Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 16 years ago
parent
commit
34f9c96c4a
3 changed files with 55 additions and 8 deletions
  1. +49
    -0
      package/base/ffmpeg/dv1394_ioctls.patch
  2. +4
    -6
      package/base/ffmpeg/ffmpeg.conf
  3. +2
    -2
      package/base/ffmpeg/ffmpeg.desc

+ 49
- 0
package/base/ffmpeg/dv1394_ioctls.patch

@ -0,0 +1,49 @@
diff --git a/libavdevice/dv1394.h b/libavdevice/dv1394.h
index 9a4ee2a..590b5d8 100644
--- a/libavdevice/dv1394.h
+++ b/libavdevice/dv1394.h
@@ -219,37 +219,37 @@ enum {
/* get the driver ready to transmit video.
pass a struct dv1394_init* as the parameter (see below),
or NULL to get default parameters */
- DV1394_INIT,
+ DV1394_INIT = 0x401c2306,
/* stop transmitting video and free the ringbuffer */
- DV1394_SHUTDOWN,
+ DV1394_SHUTDOWN = 0x00002307,
/* submit N new frames to be transmitted, where
the index of the first new frame is first_clear_buffer,
and the index of the last new frame is
(first_clear_buffer + N) % n_frames */
- DV1394_SUBMIT_FRAMES,
+ DV1394_SUBMIT_FRAMES = 0x00002308,
/* block until N buffers are clear (pass N as the parameter)
Because we re-transmit the last frame on underrun, there
will at most be n_frames - 1 clear frames at any time */
- DV1394_WAIT_FRAMES,
+ DV1394_WAIT_FRAMES = 0x00002309,
/* capture new frames that have been received, where
the index of the first new frame is first_clear_buffer,
and the index of the last new frame is
(first_clear_buffer + N) % n_frames */
- DV1394_RECEIVE_FRAMES,
+ DV1394_RECEIVE_FRAMES = 0x0000230a,
- DV1394_START_RECEIVE,
+ DV1394_START_RECEIVE = 0x0000230b,
/* pass a struct dv1394_status* as the parameter (see below) */
- DV1394_GET_STATUS,
+ DV1394_GET_STATUS = 0x802c230c,
};

+ 4
- 6
package/base/ffmpeg/ffmpeg.conf

@ -25,16 +25,14 @@ extraconfopt=""
# fill options the configure does not attempt to detect ...
pkginstalled lame && var_append extraconfopt " " "--enable-libmp3lame"
pkginstalled libogg && var_append extraconfopt " " "--enable-libogg"
pkginstalled libvorbis && var_append extraconfopt " " "--enable-libvorbis"
pkginstalled libtheora && var_append extraconfopt " " "--enable-libtheora"
pkginstalled faad2 && var_append extraconfopt " " "--enable-faad --enable-faadbin"
pkginstalled faad2 && var_append extraconfopt " " "--enable-libfaad --enable-libfaadbin"
pkginstalled faac && var_append extraconfopt " " "--enable-libfaac"
pkginstalled gsm && var_append extraconfopt " " "--enable-libgsm"
pkginstalled xvid && var_append extraconfopt " " "--enable-xvid"
pkginstalled x264 && var_append extraconfopt " " "--enable-x264"
pkginstalled libdca && var_append extraconfopt " " "--enable-libdts"
pkginstalled xvid && var_append extraconfopt " " "--enable-libxvid"
pkginstalled x264 && var_append extraconfopt " " "--enable-libx264"
pkginstalled a52dec && var_append extraconfopt " " "--enable-liba52"
var_append confopt " " "--enable-shared --enable-pp --enable-gpl --enable-swscaler --enable-pthreads"
var_append confopt " " "--enable-shared --enable-postproc --enable-gpl --enable-swscale --enable-pthreads"

+ 2
- 2
package/base/ffmpeg/ffmpeg.desc

@ -36,8 +36,8 @@
[L] LGPL
[S] Beta
[V] 2007-03-15
[V] 2008-09-13
[P] X --?--5---9 195.200
[D] X ffmpeg-2007-03-15.tar.bz2 svn://svn:svn.mplayerhq.hu/ffmpeg/trunk::8408
[D] X ffmpeg-2008-09-13.tar.bz2 svn://svn:svn.mplayerhq.hu/ffmpeg/trunk::15305

Loading…
Cancel
Save