summaryrefslogtreecommitdiff
path: root/src/dxr3/video_out_dxr3.h
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-05-25 18:36:51 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-05-25 18:36:51 +0000
commit753923ca99019885a2290f25aa0234f7d75a51d4 (patch)
treef9df014793dbb7ef56832aa391b12bc252598645 /src/dxr3/video_out_dxr3.h
parent8a964239cdbe666e012774c0cd30859579319cf1 (diff)
downloadxine-lib-753923ca99019885a2290f25aa0234f7d75a51d4.tar.gz
xine-lib-753923ca99019885a2290f25aa0234f7d75a51d4.tar.bz2
enable the new libavcodec MPEG encoder and make it the default, because
it works without any additionally installed libraries CVS patchset: 4931 CVS date: 2003/05/25 18:36:51
Diffstat (limited to 'src/dxr3/video_out_dxr3.h')
-rw-r--r--src/dxr3/video_out_dxr3.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/dxr3/video_out_dxr3.h b/src/dxr3/video_out_dxr3.h
index fd0fac039..64ea4a22c 100644
--- a/src/dxr3/video_out_dxr3.h
+++ b/src/dxr3/video_out_dxr3.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_dxr3.h,v 1.15 2003/02/13 14:32:18 mroi Exp $
+ * $Id: video_out_dxr3.h,v 1.16 2003/05/25 18:36:51 mroi Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -37,14 +37,14 @@
#define CLOSED_FOR_ENCODER -2
/* the number of supported encoders */
-#define SUPPORTED_ENCODER_COUNT 2
+#define SUPPORTED_ENCODER_COUNT 3
/* plugin structures */
typedef struct encoder_data_s encoder_data_t;
typedef struct spu_encoder_s spu_encoder_t;
-typedef enum { ENC_FAME, ENC_RTE } encoder_type;
+typedef enum { ENC_FAME, ENC_RTE, ENC_LAVC } encoder_type;
struct coeff {
@@ -142,6 +142,9 @@ struct encoder_data_s {
int (*on_display_frame)(dxr3_driver_t *, dxr3_frame_t *);
int (*on_unneeded)(dxr3_driver_t *);
int (*on_close)(dxr3_driver_t *);
+
+ /* this is only used by the libavcodec encoder */
+ void *handle;
};
struct spu_encoder_s {
@@ -165,6 +168,7 @@ int dxr3_rte_init(dxr3_driver_t *);
#ifdef HAVE_LIBFAME
int dxr3_fame_init(dxr3_driver_t *);
#endif
+int dxr3_lavc_init(dxr3_driver_t *, plugin_node_t *);
/* spu encoder functions */
spu_encoder_t *dxr3_spu_encoder_init(void);