summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-06-12 16:06:58 +0200
committerClément Bœsch <u@pkh.me>2016-06-12 19:01:43 +0200
commitbd3fd467febe92300e0ebf8ff13c193f9236479a (patch)
treee2a4382598405ce35492ec3c69e007e36f9b5e6c /libavcodec/vdpau.c
parent65d5f32fd7d234a9b08e3743593de0a72af7c03c (diff)
parentc8dcff0cdb17d0aa03ac729eba12d1a20f1f59c8 (diff)
Merge commit 'c8dcff0cdb17d0aa03ac729eba12d1a20f1f59c8'
* commit 'c8dcff0cdb17d0aa03ac729eba12d1a20f1f59c8': h264: factor out calculating the POC count into a separate file Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r--libavcodec/vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index d791d150a9..057f907927 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -459,7 +459,7 @@ void ff_vdpau_h264_picture_start(H264Context *h)
render->info.h264.field_order_cnt[i] = foc;
}
- render->info.h264.frame_num = h->frame_num;
+ render->info.h264.frame_num = h->poc.frame_num;
}
void ff_vdpau_h264_picture_complete(H264Context *h)