diff options
-rw-r--r-- | ext/libpostproc/gstpostproc.c | 5 | ||||
-rw-r--r-- | ext/libswscale/gstffmpegscale.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ext/libpostproc/gstpostproc.c b/ext/libpostproc/gstpostproc.c index 903ae04..7a78219 100644 --- a/ext/libpostproc/gstpostproc.c +++ b/ext/libpostproc/gstpostproc.c @@ -894,6 +894,11 @@ plugin_init (GstPlugin * plugin) { GST_DEBUG_CATEGORY_INIT (postproc_debug, "postproc", 0, "video postprocessing elements"); + +#if HAVE_ORC + orc_init (); +#endif + #ifndef GST_DISABLE_GST_DEBUG av_log_set_callback (gst_ffmpeg_log_callback); #endif diff --git a/ext/libswscale/gstffmpegscale.c b/ext/libswscale/gstffmpegscale.c index 0a52e00..7b971d2 100644 --- a/ext/libswscale/gstffmpegscale.c +++ b/ext/libswscale/gstffmpegscale.c @@ -802,6 +802,11 @@ plugin_init (GstPlugin * plugin) { GST_DEBUG_CATEGORY_INIT (ffmpegscale_debug, "ffvideoscale", 0, "video scaling element"); + +#if HAVE_ORC + orc_init (); +#endif + #ifndef GST_DISABLE_GST_DEBUG av_log_set_callback (gst_ffmpeg_log_callback); #endif |