summaryrefslogtreecommitdiff
path: root/src/video_dec/libvdpau/h264_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_dec/libvdpau/h264_parser.h')
-rw-r--r--src/video_dec/libvdpau/h264_parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_dec/libvdpau/h264_parser.h b/src/video_dec/libvdpau/h264_parser.h
index e6ed91802..71b99514b 100644
--- a/src/video_dec/libvdpau/h264_parser.h
+++ b/src/video_dec/libvdpau/h264_parser.h
@@ -84,6 +84,8 @@ struct h264_parser {
* heading to vdpau + unordered frames
*/
struct dpb dpb;
+
+ xine_t *xine;
};
int parse_nal(uint8_t *buf, int buf_len, struct h264_parser *parser,
@@ -91,7 +93,7 @@ int parse_nal(uint8_t *buf, int buf_len, struct h264_parser *parser,
int seek_for_nal(uint8_t *buf, int buf_len, struct h264_parser *parser);
-struct h264_parser* init_parser();
+struct h264_parser* init_parser(xine_t *xine);
void free_parser(struct h264_parser *parser);
int parse_frame(struct h264_parser *parser, uint8_t *inbuf, int inbuf_len,
int64_t pts,