Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
451
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
6656584f
Commit
6656584f
authored
12 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
DVB scan: re-enable the old plugin
I do not understand why it was disabled in the first place.
parent
31434d07
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/access/Modules.am
+15
-0
15 additions, 0 deletions
modules/access/Modules.am
modules/access/dvb/access.c
+6
-7
6 additions, 7 deletions
modules/access/dvb/access.c
with
21 additions
and
7 deletions
modules/access/Modules.am
+
15
−
0
View file @
6656584f
...
...
@@ -239,6 +239,21 @@ libdtv_plugin_la_LIBADD += libbda.la -lstdc++
libvlc_LTLIBRARIES += libdtv_plugin.la
endif
# Old Linux DVB scanner
libdvb_plugin_la_SOURCES = \
dvb/access.c \
dvb/linux_dvb.c \
dvb/scan.c dvb/scan.h \
dvb/dvb.h
libdvb_plugin_la_CFLAGS = $(AM_CFLAGS)
libdvb_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_LINUX_DVB
libvlc_LTLIBRARIES += libdvb_plugin.la
if HAVE_DVBPSI
libdvb_plugin_la_CFLAGS += $(DVBPSI_CFLAGS)
libdvb_plugin_la_LIBADD += $(DVBPSI_LIBS)
endif
endif
### Network streams ###
...
...
This diff is collapsed.
Click to expand it.
modules/access/dvb/access.c
+
6
−
7
View file @
6656584f
...
...
@@ -124,13 +124,6 @@ static int Open( vlc_object_t *p_this )
if
(
*
p_access
->
psz_access
==
'\0'
)
return
VLC_EGENERIC
;
/* Set up access */
p_access
->
pf_read
=
NULL
;
p_access
->
pf_control
=
Control
;
p_access
->
pf_seek
=
NULL
;
access_InitFields
(
p_access
);
p_access
->
p_sys
=
p_sys
=
calloc
(
1
,
sizeof
(
access_sys_t
)
);
if
(
!
p_sys
)
return
VLC_ENOMEM
;
...
...
@@ -193,8 +186,14 @@ static int Open( vlc_object_t *p_this )
p_sys
->
i_read_once
=
DVB_READ_ONCE_SCAN
;
}
/* Set up access */
free
(
p_access
->
psz_demux
);
p_access
->
psz_demux
=
strdup
(
"m3u8"
);
p_access
->
pf_read
=
NULL
;
p_access
->
pf_control
=
Control
;
p_access
->
pf_seek
=
NULL
;
access_InitFields
(
p_access
);
return
VLC_SUCCESS
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment