OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LinGui: Add max width/height widgets to preset save dialog
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
muxogm.c
diff --git
a/libhb/muxogm.c
b/libhb/muxogm.c
index
a7b72d5
..
885dcca
100644
(file)
--- a/
libhb/muxogm.c
+++ b/
libhb/muxogm.c
@@
-1,7
+1,7
@@
/* $Id: muxogm.c,v 1.4 2005/02/20 00:41:56 titer Exp $
This file is part of the HandBrake source code.
/* $Id: muxogm.c,v 1.4 2005/02/20 00:41:56 titer Exp $
This file is part of the HandBrake source code.
- Homepage: <http://handbrake.
m0k.org
/>.
+ Homepage: <http://handbrake.
fr
/>.
It may be used under the terms of the GNU General Public License. */
#include "hb.h"
It may be used under the terms of the GNU General Public License. */
#include "hb.h"
@@
-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;
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:
{
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 );
}
{
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 );
else
{
memcpy( h.sub_type, "DX50", 4 );
@@
-262,7
+257,6
@@
static int OGMInit( hb_mux_object_t * m )
OGMFlush( m, mux_data );
}
break;
OGMFlush( m, mux_data );
}
break;
- case HB_VCODEC_XVID:
case HB_VCODEC_X264:
case HB_VCODEC_FFMPEG:
break;
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:
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 );
case HB_VCODEC_X264:
op.bytes = buf->size + 1;
op.packet = malloc( op.bytes );