Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
2c503642
Commit
2c503642
authored
Jun 14, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mms: Get rid of the playlist.
parent
5faadbd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+6
-6
No files found.
modules/access/mms/mmsh.c
View file @
2c503642
...
...
@@ -31,8 +31,8 @@
#include <vlc_common.h>
#include <vlc_access.h>
#include "vlc_playlist.h"
#include "vlc_strings.h"
#include "vlc_input.h"
#include <vlc_network.h>
#include "vlc_url.h"
...
...
@@ -183,14 +183,14 @@ int MMSHOpen( access_t *p_access )
/* Handle redirection */
if
(
psz_location
&&
*
psz_location
)
{
playlist_t
*
p_playlist
=
pl_Yield
(
p_access
);
msg_Dbg
(
p_access
,
"redirection to %s"
,
psz_location
);
input_thread_t
*
p_input
=
vlc_object_find
(
p_access
,
VLC_OBJECT_INPUT
,
FIND_PARENT
);
input_item_t
*
p_new_loc
;
/** \bug we do not autodelete here */
playlist_Add
(
p_playlist
,
psz_location
,
psz_location
,
PLAYLIST_INSERT
|
PLAYLIST_GO
,
PLAYLIST_END
,
true
,
false
);
vlc_object_release
(
p_playlist
);
p_new_loc
=
input_ItemNew
(
p_access
,
psz_location
,
psz_location
);
input_ItemAddSubItem
(
input_GetItem
(
p_input
),
p_new_loc
);
vlc_object_release
(
p_input
);
free
(
psz_location
);
...
...
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