Mercurial > mplayer.hg
view stream/stream_null.c @ 19296:3583e8ff4da4
renamed dvbin.c to stream_dvb.c for consistency
author | ben |
---|---|
date | Thu, 03 Aug 2006 19:16:30 +0000 |
parents | 11ec1cb3a7ea |
children | 097e5bc71210 |
line wrap: on
line source
#include "config.h" #include <stdlib.h> #include <string.h> #include "stream.h" #include "demuxer.h" static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { stream->type = STREAMTYPE_DUMMY; if(strncmp("mf://",stream->url,5) == 0) { *file_format = DEMUXER_TYPE_MF; } return 1; } stream_info_t stream_info_null = { "Null stream", "null", "Albeu", "", open_s, { "mf", "null", NULL }, NULL, 0 // Urls are an option string };