Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e3f4c7b9
Commit
e3f4c7b9
authored
Sep 28, 2010
by
Thomas Jansen
Committed by
Max Kellermann
Sep 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/rewind: enable for MMS
parent
54294366
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
NEWS
NEWS
+1
-0
rewind_input_plugin.c
src/input/rewind_input_plugin.c
+9
-1
No files found.
NEWS
View file @
e3f4c7b9
...
...
@@ -4,6 +4,7 @@ ver 0.15.13 (2010/??/??)
- httpd: fix random data in stream title
* input:
- rewind: update MIME not only once
- rewind: enable for MMS
ver 0.15.12 (2010/07/20)
...
...
src/input/rewind_input_plugin.c
View file @
e3f4c7b9
...
...
@@ -20,6 +20,9 @@
#include "config.h"
#include "input/rewind_input_plugin.h"
#include "input/curl_input_plugin.h"
#ifdef ENABLE_MMS
#include "input/mms_input_plugin.h"
#endif
#include "input_plugin.h"
#include "tag.h"
...
...
@@ -220,7 +223,11 @@ input_rewind_open(struct input_stream *is)
assert
(
is
!=
NULL
);
assert
(
is
->
offset
==
0
);
if
(
is
->
plugin
!=
&
input_plugin_curl
)
if
(
is
->
plugin
!=
&
input_plugin_curl
#ifdef ENABLE_MMS
&&
is
->
plugin
!=
&
input_plugin_mms
#endif
)
/* due to limitations in the input_plugin API, we only
(explicitly) support the CURL input plugin */
return
;
...
...
@@ -230,6 +237,7 @@ input_rewind_open(struct input_stream *is)
/* move the CURL input stream to c->input */
c
->
input
=
*
is
;
if
(
is
->
plugin
==
&
input_plugin_curl
)
input_curl_reinit
(
&
c
->
input
);
/* convert the existing input_stream pointer to a "rewind"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment