summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authorszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-09 21:28:44 +0000
committerszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-09 21:28:44 +0000
commitca34f5e699df0478f0d1842a8c766d472ec3e1a6 (patch)
treef56f83fe2cf0743568ba67f32495e5fe688c22e9 /codec-cfg.c
parent42efa288120abbaa79b90645d23ec54acf44cd64 (diff)
downloadmpv-ca34f5e699df0478f0d1842a8c766d472ec3e1a6.tar.bz2
mpv-ca34f5e699df0478f0d1842a8c766d472ec3e1a6.tar.xz
flags seekable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@322 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index 48cbfc6084..d7a085351f 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -440,8 +440,10 @@ codecs_t *parse_codec_cfg(char *cfgfile)
goto parse_error_out;
if (get_token(1, 1) < 0)
goto parse_error_out;
-#warning FIXME flags meg nincs implementalva...
- printf("\n\nUssetek!!!\n\n");
+ if (!strcmp(token[0], "seekable"))
+ codec->flags |= CODECS_FLAG_SEEKABLE;
+ else
+ goto parse_error_out;
} else if (!strcmp(token[0], "status")) {
if (!(state & GOT_NAME))
goto parse_error_out;