Document lscale=2
[mplayer/glamo.git] / stream / stream_mf.c
blob89a734d2f948974dc17d501b93998cf5560d17ac
1 /*
2 * Copyright (C) 2006 Benjamin Zores
3 * Stream layer for multiple files input, based on previous work from Albeu
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 #include "config.h"
22 #include <stdlib.h>
23 #include <string.h>
25 #include "stream.h"
26 #include "libmpdemux/demuxer.h"
28 static int
29 mf_stream_open (stream_t *stream, int mode, void *opts, int *file_format)
31 stream->type = STREAMTYPE_MF;
32 *file_format = DEMUXER_TYPE_MF;
34 return STREAM_OK;
37 stream_info_t stream_info_mf = {
38 "Multiple files input",
39 "mf",
40 "Benjamin Zores, Albeu",
41 "",
42 mf_stream_open,
43 { "mf", NULL },
44 NULL,