summaryrefslogtreecommitdiff
path: root/src/libvdpau/h264_parser.h
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2009-03-05 17:43:41 +0000
committerJulian Scheel <julian@jusst.de>2009-03-05 17:43:41 +0000
commit66475e7901d34d42a32930b649383e99cc56cf33 (patch)
treef2097ddef07859894a08bbbceff1af12263892ca /src/libvdpau/h264_parser.h
parentb612a4aec4fb8c0bedee4fa47585614fe031524f (diff)
downloadxine-lib-66475e7901d34d42a32930b649383e99cc56cf33.tar.gz
xine-lib-66475e7901d34d42a32930b649383e99cc56cf33.tar.bz2
Fix mmc operation parsing. It has to be done after decoding the frame, but before adding the decoded frame to dpb.
Diffstat (limited to 'src/libvdpau/h264_parser.h')
-rw-r--r--src/libvdpau/h264_parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libvdpau/h264_parser.h b/src/libvdpau/h264_parser.h
index c726f7b90..bf3d34100 100644
--- a/src/libvdpau/h264_parser.h
+++ b/src/libvdpau/h264_parser.h
@@ -88,6 +88,11 @@ void free_parser(struct nal_parser *parser);
int parse_frame(struct nal_parser *parser, uint8_t *inbuf, int inbuf_len,
uint8_t **ret_buf, uint32_t *ret_len, uint32_t *ret_slice_cnt);
+/* this has to be called after decoding the frame delivered by parse_frame,
+ * but before adding a decoded frame to the dpb.
+ */
+void process_mmc_operations(struct nal_parser *parser);
+
void parse_codec_private(struct nal_parser *parser, uint8_t *inbuf, int inbuf_len);
#endif