summaryrefslogtreecommitdiffstats
path: root/libhb/muxogm.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2009-05-26 15:23:21 +0000
committerjbrjake <[email protected]>2009-05-26 15:23:21 +0000
commit4106a36fa2425ab6eed7d76d0c5861691cd5df17 (patch)
treeeabd80a8e99398b8d546b766f2936f6a93cb05bb /libhb/muxogm.c
parentfdadd571645edc4360f5cd25e3bb45c21a3e65f8 (diff)
Excises xvid from libhb because it's not worthy. Having two different MPEG-4 Part 2 encoders is superfluous and when choosing between ffmpeg and xvid, xvid is the clear loser since we need to keep ffmpeg around for other functions and xvid constantly requires attention to ensure it compiles.
MacGui: Removes some stray references to the codec and unlinks it from the Xcode project. CLI: Removes references to the codec and removes it as a dependency. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2448 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxogm.c')
-rw-r--r--libhb/muxogm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libhb/muxogm.c b/libhb/muxogm.c
index ccb10517a..885dcca95 100644
--- a/libhb/muxogm.c
+++ b/libhb/muxogm.c
@@ -153,7 +153,6 @@ static int OGMInit( hb_mux_object_t * m )
op.packet = job->config.theora.headers[0] + sizeof(op);
ogg_stream_packetin( &mux_data->os, &op );
break;
- case HB_VCODEC_XVID:
case HB_VCODEC_X264:
case HB_VCODEC_FFMPEG:
{
@@ -164,10 +163,6 @@ static int OGMInit( hb_mux_object_t * m )
{
memcpy( h.sub_type, "H264", 4 );
}
- else if( mux_data->codec == HB_VCODEC_XVID )
- {
- memcpy( h.sub_type, "XVID", 4 );
- }
else
{
memcpy( h.sub_type, "DX50", 4 );
@@ -262,7 +257,6 @@ static int OGMInit( hb_mux_object_t * m )
OGMFlush( m, mux_data );
}
break;
- case HB_VCODEC_XVID:
case HB_VCODEC_X264:
case HB_VCODEC_FFMPEG:
break;
@@ -310,7 +304,6 @@ static int OGMMux( hb_mux_object_t * m, hb_mux_data_t * mux_data,
memcpy( op.packet, buf->data + sizeof( ogg_packet ), op.bytes );
break;
case HB_VCODEC_FFMPEG:
- case HB_VCODEC_XVID:
case HB_VCODEC_X264:
op.bytes = buf->size + 1;
op.packet = malloc( op.bytes );