Browse Source

hevc: fixing TSCL_A_VIDYO_5 decoding output order(cherry picked from commit 19c5d9ed28)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Mickaël Raulet Michael Niedermayer 12 years ago
parent
commit
64b3aaf8f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/hevc_refs.c

+ 1
- 1
libavcodec/hevc_refs.c View File

@@ -168,7 +168,7 @@ int ff_hevc_output_frame(HEVCContext *s, AVFrame *out, int flush)


/* wait for more frames before output */ /* wait for more frames before output */
if (!flush && s->seq_output == s->seq_decode && s->sps && if (!flush && s->seq_output == s->seq_decode && s->sps &&
nb_output <= s->sps->temporal_layer[s->temporal_id].num_reorder_pics)
nb_output <= s->sps->temporal_layer[s->sps->max_sub_layers - 1].num_reorder_pics)
return 0; return 0;


if (nb_output) { if (nb_output) {


Loading…
Cancel
Save