mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
- Use OPTIONS - Install .desktop file and icon in share/applications and share/pixmaps instead of share/gnome/ - Changed Knobs WITHOUT_FAAD --> WITH_FAAD (disabled by default) WITH_LAME --> WITHOUT_LAME (enabled by default, disabled for package building) WITHOUT_SDL --> WITH_SDL (disabled by default) WITHOUT_TRANSCODE --> WITH_TRANSCODE (disabled by default) WITHOUT_DVD removed. - New knobs WITH_CORBA -- Corba interface via orbit2 WITH_DAAP -- iTunes(R) music shares WITHOUT_DVDNAV -- DVD (dvd menus) support WITH_DVDREAD -- Regular DVD support (non-menu) WITH_DIRAC -- diace general-purpose video codec WITHOUT_OGG -- OGG audio decoder WITH_SMB -- Samba access module WITH_TWOLAME -- Mpeg layer 2 audio Support NOTE: WITH_ knobs are disabled by default. WITHOUT_ knobs are enabled by default. NOTE2: It is recommended that you use multimedia/ffmpeg-devel instead of multimedia/ffmpeg if you want to use any of ffmpeg's postprocess features. PR: ports/80963 [1] Repocopied by: marcus [1]
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
--- modules/codec/ffmpeg/video.c.orig Fri May 13 13:30:36 2005
|
|
+++ modules/codec/ffmpeg/video.c Fri May 13 13:32:42 2005
|
|
@@ -202,7 +202,7 @@
|
|
|
|
p_pic = p_dec->pf_vout_buffer_new( p_dec );
|
|
|
|
-#ifdef LIBAVCODEC_PP
|
|
+#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
|
|
if( p_sys->p_pp && p_sys->b_pp && !p_sys->b_pp_init )
|
|
{
|
|
E_(InitPostproc)( p_dec, p_sys->p_pp, p_context->width,
|
|
@@ -301,7 +301,7 @@
|
|
p_sys->b_direct_rendering = 1;
|
|
}
|
|
|
|
-#ifdef LIBAVCODEC_PP
|
|
+#if defined(LIBAVCODEC_PP) && LIBAVCODE_BUILD > 4750
|
|
p_sys->p_pp = NULL;
|
|
p_sys->b_pp = p_sys->b_pp_async = p_sys->b_pp_init = VLC_FALSE;
|
|
p_sys->p_pp = E_(OpenPostproc)( p_dec, &p_sys->b_pp_async );
|
|
@@ -719,7 +719,7 @@
|
|
|
|
if( p_sys->p_ff_pic ) av_free( p_sys->p_ff_pic );
|
|
|
|
-#ifdef LIBAVCODEC_PP
|
|
+#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
|
|
E_(ClosePostproc)( p_dec, p_sys->p_pp );
|
|
#endif
|
|
|
|
@@ -741,7 +741,7 @@
|
|
uint8_t *p_dst, *p_src;
|
|
int i_src_stride, i_dst_stride;
|
|
|
|
-#ifdef LIBAVCODEC_PP
|
|
+#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
|
|
if( p_sys->p_pp && p_sys->b_pp )
|
|
E_(PostprocPict)( p_dec, p_sys->p_pp, p_pic, p_ff_pic );
|
|
else
|