[MPlayer-cvslog] r37833 - in trunk: libmpcodecs/vd_ffmpeg.c libmpdemux/stheader.h

reimar subversion at mplayerhq.hu
Sun Mar 6 13:53:05 CET 2016


Author: reimar
Date: Sun Mar  6 13:53:04 2016
New Revision: 37833

Log:
Bump maximum number of decoding threads a bit.

Addresses issue #2289.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c
   trunk/libmpdemux/stheader.h

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Sun Mar  6 12:42:28 2016	(r37832)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Sun Mar  6 13:53:04 2016	(r37833)
@@ -157,7 +157,7 @@ const m_option_t lavc_decode_opts_conf[]
     {"skiploopfilter", &lavc_param_skip_loop_filter_str , CONF_TYPE_STRING  , 0, 0, 0, NULL},
     {"skipidct"      , &lavc_param_skip_idct_str        , CONF_TYPE_STRING  , 0, 0, 0, NULL},
     {"skipframe"     , &lavc_param_skip_frame_str       , CONF_TYPE_STRING  , 0, 0, 0, NULL},
-    {"threads"       , &lavc_param_threads              , CONF_TYPE_INT     , CONF_RANGE, 1, 16, NULL},
+    {"threads"       , &lavc_param_threads              , CONF_TYPE_INT     , CONF_RANGE, 1, 32, NULL},
     {"bitexact"      , &lavc_param_bitexact             , CONF_TYPE_FLAG    , 0, 0, CODEC_FLAG_BITEXACT, NULL},
     {"o"             , &lavc_avopt                      , CONF_TYPE_STRING  , 0, 0, 0, NULL},
     {NULL, NULL, 0, 0, 0, 0, NULL}

Modified: trunk/libmpdemux/stheader.h
==============================================================================
--- trunk/libmpdemux/stheader.h	Sun Mar  6 12:42:28 2016	(r37832)
+++ trunk/libmpdemux/stheader.h	Sun Mar  6 13:53:04 2016	(r37833)
@@ -101,7 +101,7 @@ typedef struct sh_video {
   double i_pts;   // PTS for the _next_ I/P frame
   float next_frame_time;
   double last_pts;
-  double buffered_pts[32];
+  double buffered_pts[64];
   int num_buffered_pts;
   // output format: (set by demuxer)
   float fps;              // frames per second (set only if constant fps)


More information about the MPlayer-cvslog mailing list