view libmpcodecs/mpc_info.h @ 28939:cbf56e4c9662

Check mpi type before returning an DR buffer in get_image, fixes jerkiness with MPEG1/2 and -dr -slices
author reimar
date Mon, 16 Mar 2009 14:25:03 +0000
parents 4129c8cfa742
children bbb6ebec87a0
line wrap: on
line source

#ifndef MPLAYER_MPC_INFO_H
#define MPLAYER_MPC_INFO_H

typedef struct mp_codec_info_s
{
        /* codec long name ("Autodesk FLI/FLC Animation decoder" */
        const char *name;
        /* short name (same as driver name in codecs.conf) ("dshow") */
        const char *short_name;
        /* interface author/maintainer */
        const char *maintainer;
        /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */
        const char *author;
        /* any additional comments */
        const char *comment;
} mp_codec_info_t;

#define CONTROL_OK 1
#define CONTROL_TRUE 1
#define CONTROL_FALSE 0
#define CONTROL_UNKNOWN -1
#define CONTROL_ERROR -2
#define CONTROL_NA -3

#endif /* MPLAYER_MPC_INFO_H */