summaryrefslogtreecommitdiff
path: root/liboutput/encode.c
diff options
context:
space:
mode:
Diffstat (limited to 'liboutput/encode.c')
-rw-r--r--liboutput/encode.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/liboutput/encode.c b/liboutput/encode.c
index 505d478..ac8e01d 100644
--- a/liboutput/encode.c
+++ b/liboutput/encode.c
@@ -62,7 +62,13 @@ cEncode::cEncode()
bool cEncode::Register()
{
avcodec_init();
+#if 0
+ // XXX to resolv: dosen't work with osdpip
register_avcodec(&mpeg2video_encoder);
+#else
+ avcodec_register_all();
+#endif
+
return true;
}