ffmpeg: Call orc_init() before trying to get target flags

This commit is contained in:
Sebastian Dröge 2010-06-14 15:31:34 +02:00
parent 899d2f0cec
commit 3d91d93f32
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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