mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-15 03:45:38 +00:00
ffmpeg: Call orc_init() before trying to get target flags
This commit is contained in:
parent
899d2f0cec
commit
3d91d93f32
2 changed files with 10 additions and 0 deletions
|
@ -894,6 +894,11 @@ plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
GST_DEBUG_CATEGORY_INIT (postproc_debug, "postproc", 0,
|
GST_DEBUG_CATEGORY_INIT (postproc_debug, "postproc", 0,
|
||||||
"video postprocessing elements");
|
"video postprocessing elements");
|
||||||
|
|
||||||
|
#if HAVE_ORC
|
||||||
|
orc_init ();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
av_log_set_callback (gst_ffmpeg_log_callback);
|
av_log_set_callback (gst_ffmpeg_log_callback);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -802,6 +802,11 @@ plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
GST_DEBUG_CATEGORY_INIT (ffmpegscale_debug, "ffvideoscale", 0,
|
GST_DEBUG_CATEGORY_INIT (ffmpegscale_debug, "ffvideoscale", 0,
|
||||||
"video scaling element");
|
"video scaling element");
|
||||||
|
|
||||||
|
#if HAVE_ORC
|
||||||
|
orc_init ();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
av_log_set_callback (gst_ffmpeg_log_callback);
|
av_log_set_callback (gst_ffmpeg_log_callback);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue