Commit 4fd68a72 authored by Ronald S. Bultje's avatar Ronald S. Bultje

ext/ffmpeg/gstffmpegprotocol.c: Strip off private flags from context value (#310054).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open):
Strip off private flags from context value (#310054).
parent 53f3d5be
2005-07-16 daniel fischer <dan@f3c.com>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open):
Strip off private flags from context value (#310054).
2005-07-11 Luca Ognibene <luogni@tin.it> 2005-07-11 Luca Ognibene <luogni@tin.it>
* ext/ffmpeg/gstffmpegdec.c (struct _GstFFMpegDec) * ext/ffmpeg/gstffmpegdec.c (struct _GstFFMpegDec)
......
...@@ -56,6 +56,7 @@ gst_ffmpegdata_open (URLContext * h, const char *filename, int flags) ...@@ -56,6 +56,7 @@ gst_ffmpegdata_open (URLContext * h, const char *filename, int flags)
info->set_streamheader = flags & GST_FFMPEG_URL_STREAMHEADER; info->set_streamheader = flags & GST_FFMPEG_URL_STREAMHEADER;
flags &= ~GST_FFMPEG_URL_STREAMHEADER; flags &= ~GST_FFMPEG_URL_STREAMHEADER;
h->flags &= ~GST_FFMPEG_URL_STREAMHEADER;
/* we don't support R/W together */ /* we don't support R/W together */
if (flags != URL_RDONLY && flags != URL_WRONLY) { if (flags != URL_RDONLY && flags != URL_WRONLY) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment