Mercurial > mplayer.hg
view stream/stream_null.c @ 27629:d04568721d39
Make output messages of frequency selection code more useful by
providing additional information like requested frequency
and found nearest fequency/channel.
patch from Laurent laurent dot aml at gmail dot com
author | voroshil |
---|---|
date | Wed, 24 Sep 2008 20:42:15 +0000 |
parents | c1d17bd6683c |
children | ce0122361a39 |
line wrap: on
line source
#include "config.h" #include <stdlib.h> #include <string.h> #include "stream.h" static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { stream->type = STREAMTYPE_DUMMY; return 1; } const stream_info_t stream_info_null = { "Null stream", "null", "Albeu", "", open_s, { "null", NULL }, NULL, 0 // Urls are an option string };