Skip to content

Commit

Permalink
Merge svn changes up to r30683
Browse files Browse the repository at this point in the history
  • Loading branch information
Uoti Urpala committed Mar 9, 2010
2 parents 5eeba24 + 160b880 commit 5099b14
Show file tree
Hide file tree
Showing 86 changed files with 206 additions and 165 deletions.
3 changes: 3 additions & 0 deletions DOCS/man/en/mplayer.1
Original file line number Diff line number Diff line change
Expand Up @@ -1507,6 +1507,9 @@ This option is obsolete now that MPlayer has OpenDML support.
.TP
.B \-mc <seconds/frame>
maximum A-V sync correction per frame (in seconds)
.br
\-mc 0 should always be combined with \-noskip for mencoder, otherwise
it will almost certainly cause A-V desync.
.
.TP
.B \-mf <option1:option2:...>
Expand Down
25 changes: 25 additions & 0 deletions etc/codecs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ release 20090308
; VIDEO CODECS
;=============================================================================

videocodec ffbinkvideo
info "FFmpeg Bink Video"
status working
fourcc BIKf ; internal MPlayer FourCC
fourcc BIKg ; internal MPlayer FourCC
fourcc BIKh ; internal MPlayer FourCC
fourcc BIKi ; internal MPlayer FourCC
driver ffmpeg
dll binkvideo
out YV12

videocodec ffcdgraphics
info "FFmpeg CD-Graphics"
status working
Expand Down Expand Up @@ -3755,6 +3766,20 @@ audiocodec ffsmkaud
driver ffmpeg
dll "smackaud"

audiocodec ffbinkdctaud
info "FFmpeg Bink Audio (DCT)"
status buggy
fourcc BAU1 ; internal MPlayer FourCC
driver ffmpeg
dll "binkaudio_dct"

audiocodec ffbinkrdftaud
info "FFmpeg Bink Audio (RDFT)"
status working
fourcc BAU2 ; internal MPlayer FourCC
driver ffmpeg
dll "binkaudio_rdft"

audiocodec ffdsicinaudio
info "FFmpeg Delphine CIN audio"
status working
Expand Down
7 changes: 5 additions & 2 deletions libmpcodecs/vd_dmo.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "config.h"

#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

#include "config.h"

#include "mp_msg.h"
#include "help_mp.h"

Expand Down
2 changes: 1 addition & 1 deletion libmpcodecs/vf.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ struct vf_instance *vf_open_plugin_noerr(struct MPOpts *opts,
args = (char**)args[1];
else
args = NULL;
*retcode = vf->info->open(vf,(char*)args);
*retcode = vf->info->vf_open(vf,(char*)args);
if (*retcode > 0)
return vf;
free(vf);
Expand Down
2 changes: 1 addition & 1 deletion libmpcodecs/vf.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ typedef struct vf_info_s {
const char *name;
const char *author;
const char *comment;
int (*open)(struct vf_instance* vf,char* args);
int (*vf_open)(struct vf_instance* vf,char* args);
// Ptr to a struct dscribing the options
const void* opts;
} vf_info_t;
Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_1bpp.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static int query_format(struct vf_instance* vf, unsigned int fmt){
return vf->next->query_format(vf->next,best);
}

static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
vf->config=config;
vf->put_image=put_image;
vf->query_format=query_format;
Expand All @@ -194,7 +194,7 @@ const vf_info_t vf_info_1bpp = {
"1bpp",
"A'rpi",
"",
open,
vf_open,
NULL
};

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_2xsai.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ static int query_format(struct vf_instance* vf, unsigned int fmt){
return 0;
}

static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
vf->config=config;
vf->put_image=put_image;
vf->query_format=query_format;
Expand All @@ -328,7 +328,7 @@ const vf_info_t vf_info_2xsai = {
"2xsai",
"A'rpi",
"http://elektron.its.tudelft.nl/~dalikifa/",
open,
vf_open,
NULL
};

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_ass.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ static const unsigned int fmt_list[]={
0
};

static int open(vf_instance_t *vf, char* args)
static int vf_open(vf_instance_t *vf, char *args)
{
int flags;
vf->priv->outfmt = vf_match_csp(&vf->next,fmt_list,IMGFMT_YV12);
Expand Down Expand Up @@ -427,6 +427,6 @@ const vf_info_t vf_info_ass = {
"ass",
"Evgeniy Stepanov",
"",
open,
vf_open,
&vf_opts
};
4 changes: 2 additions & 2 deletions libmpcodecs/vf_blackframe.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static void uninit(struct vf_instance *vf) {
if (vf->priv) free(vf->priv);
}

static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
vf->priv = malloc(sizeof(struct vf_priv_s));
if (!vf->priv) return 0;

Expand All @@ -143,6 +143,6 @@ const vf_info_t vf_info_blackframe = {
"blackframe",
"Brian J. Murrell, Julian Hall, Ivo van Poorten",
"Useful for detecting scene transitions",
open,
vf_open,
NULL
};
2 changes: 1 addition & 1 deletion libmpcodecs/vf_bmovl.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ put_image(struct vf_instance* vf, mp_image_t* mpi, double pts){
} // put_image

static int
vf_open(vf_instance_t* vf, char* args)
vf_open(vf_instance_t *vf, char *args)
{
char filename[1000];

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_boxblur.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static int query_format(struct vf_instance* vf, unsigned int fmt){
return 0;
}

static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
int e;

vf->config=config;
Expand Down Expand Up @@ -207,7 +207,7 @@ const vf_info_t vf_info_boxblur = {
"boxblur",
"Michael Niedermayer",
"",
open,
vf_open,
NULL
};

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_crop.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ static void draw_slice(struct vf_instance* vf,

//===========================================================================//

static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
vf->config=config;
vf->put_image=put_image;
vf->start_slice=start_slice;
Expand Down Expand Up @@ -190,7 +190,7 @@ const vf_info_t vf_info_crop = {
"crop",
"A'rpi",
"",
open,
vf_open,
&vf_opts
};

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_cropdetect.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static int query_format(struct vf_instance* vf, unsigned int fmt) {
}
//===========================================================================//

static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
vf->config=config;
vf->put_image=put_image;
vf->query_format=query_format;
Expand All @@ -194,7 +194,7 @@ const vf_info_t vf_info_cropdetect = {
"cropdetect",
"A'rpi",
"",
open,
vf_open,
NULL
};

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_decimate.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static void uninit(struct vf_instance* vf)
free(vf->priv);
}

static int open(vf_instance_t *vf, char* args)
static int vf_open(vf_instance_t *vf, char *args)
{
struct vf_priv_s *p;
vf->put_image = put_image;
Expand All @@ -193,6 +193,6 @@ const vf_info_t vf_info_decimate = {
"decimate",
"Rich Felker",
"",
open,
vf_open,
NULL
};
4 changes: 2 additions & 2 deletions libmpcodecs/vf_delogo.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static const unsigned int fmt_list[]={
0
};

static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
vf->config=config;
vf->put_image=put_image;
vf->get_image=get_image;
Expand Down Expand Up @@ -255,7 +255,7 @@ const vf_info_t vf_info_delogo = {
"delogo",
"Jindrich Makovicka, Alex Beregszaszi",
"",
open,
vf_open,
&vf_opts
};

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_denoise3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static void PrecalcCoefs(int *Ct, double Dist25)
}


static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
double LumSpac, LumTmp, ChromSpac, ChromTmp;
double Param1, Param2, Param3;

Expand Down Expand Up @@ -261,7 +261,7 @@ const vf_info_t vf_info_denoise3d = {
"denoise3d",
"Daniel Moreno",
"",
open,
vf_open,
NULL
};

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_detc.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ static void parse_args(struct vf_priv_s *p, char *args)
free(orig);
}

static int open(vf_instance_t *vf, char* args)
static int vf_open(vf_instance_t *vf, char *args)
{
struct vf_priv_s *p;
vf->config = config;
Expand Down Expand Up @@ -448,6 +448,6 @@ const vf_info_t vf_info_detc = {
"detc",
"Rich Felker",
"",
open,
vf_open,
NULL
};
4 changes: 2 additions & 2 deletions libmpcodecs/vf_dint.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static int put_image (struct vf_instance* vf, mp_image_t *mpi, double pts)
return vf_next_put_image (vf, mpi, pts);
}

static int open (vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
vf->config = config;
vf->put_image = put_image;
// vf->default_reqs=VFCAP_ACCEPT_STRIDE;
Expand All @@ -209,6 +209,6 @@ const vf_info_t vf_info_dint = {
"dint",
"A.G.",
"",
open,
vf_open,
NULL
};
4 changes: 2 additions & 2 deletions libmpcodecs/vf_divtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ static void uninit(struct vf_instance* vf)
}
}

static int open(vf_instance_t *vf, char* args)
static int vf_open(vf_instance_t *vf, char *args)
{
struct vf_priv_s *p;
char *filename="framediff.log", *ap, *q, *a;
Expand Down Expand Up @@ -715,6 +715,6 @@ const vf_info_t vf_info_divtc =
"divtc",
"Ville Saari",
"",
open,
vf_open,
NULL
};
4 changes: 2 additions & 2 deletions libmpcodecs/vf_down3dright.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static void uninit(struct vf_instance* vf)
free(vf->priv);
}

static int open(vf_instance_t *vf, char* args)
static int vf_open(vf_instance_t *vf, char *args)
{
vf->config=config;
vf->query_format=query_format;
Expand All @@ -161,6 +161,6 @@ const vf_info_t vf_info_down3dright = {
"down3dright",
"Zdenek Kabelac",
"",
open,
vf_open,
NULL
};
4 changes: 2 additions & 2 deletions libmpcodecs/vf_dsize.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static void uninit(vf_instance_t *vf) {
vf->priv = NULL;
}

static int open(vf_instance_t *vf, char* args)
static int vf_open(vf_instance_t *vf, char *args)
{
vf->config = config;
vf->draw_slice = vf_next_draw_slice;
Expand Down Expand Up @@ -118,6 +118,6 @@ const vf_info_t vf_info_dsize = {
"dsize",
"Rich Felker",
"",
open,
vf_open,
NULL
};
4 changes: 2 additions & 2 deletions libmpcodecs/vf_dvbscale.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static int config(struct vf_instance* vf,
return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
}

static int open(vf_instance_t *vf, char* args){
static int vf_open(vf_instance_t *vf, char *args){
vf->config=config;
vf->default_caps=0;
vf->priv=malloc(sizeof(struct vf_priv_s));
Expand All @@ -60,7 +60,7 @@ const vf_info_t vf_info_dvbscale = {
"dvbscale",
"A'rpi",
"",
open,
vf_open,
NULL
};

Expand Down
4 changes: 2 additions & 2 deletions libmpcodecs/vf_eq.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static void uninit(struct vf_instance* vf)
free(vf->priv);
}

static int open(vf_instance_t *vf, char* args)
static int vf_open(vf_instance_t *vf, char *args)
{
vf->control=control;
vf->query_format=query_format;
Expand Down Expand Up @@ -253,6 +253,6 @@ const vf_info_t vf_info_eq = {
"eq",
"Richard Felker",
"",
open,
vf_open,
&vf_opts
};
Loading

0 comments on commit 5099b14

Please sign in to comment.