Mercurial > mplayer.hg
annotate stream/stream_null.c @ 27409:e2de11109139
If (has outline) blur(outline) else blur(glyph).
If there is an outline, the glyph itself should not be blurred. Keeps
the border between glyph and outline clear (unblurred), which is
probably how it should be.
Patch by Diogo Franco (diogomfranco gmail com).
author | eugeni |
---|---|
date | Thu, 07 Aug 2008 22:20:58 +0000 |
parents | c1d17bd6683c |
children | ce0122361a39 |
rev | line source |
---|---|
9901
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
1 |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
2 #include "config.h" |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
3 |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
4 #include <stdlib.h> |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
5 #include <string.h> |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
6 |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
7 #include "stream.h" |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
8 |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
9 static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
10 stream->type = STREAMTYPE_DUMMY; |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
11 |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
12 return 1; |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
13 } |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
14 |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
15 |
25211 | 16 const stream_info_t stream_info_null = { |
9901
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
17 "Null stream", |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
18 "null", |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
19 "Albeu", |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
20 "", |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
21 open_s, |
19301 | 22 { "null", NULL }, |
9901
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
23 NULL, |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
24 0 // Urls are an option string |
233802490b0e
Add a null streamv Currently used for tv and mf. Could be used to
albeu
parents:
diff
changeset
|
25 }; |