mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
dvdnavsrc ported to 0.10, for the most part at least. Not quite ready for prime time yet though.
Original commit message from CVS: * configure.ac: * ext/Makefile.am: * ext/dvdnav/Makefile.am: * ext/dvdnav/dvdnavsrc.c: (gst_dvd_nav_src_base_init), (gst_dvd_nav_src_class_init), (gst_dvd_nav_src_check_get_range), (gst_dvd_nav_src_init), (gst_dvd_nav_src_finalize), (gst_dvd_nav_src_is_open), (gst_dvd_nav_src_set_property), (gst_dvd_nav_src_get_property), (gst_dvd_nav_src_set_clock), (gst_dvd_nav_src_tca_seek), (gst_dvd_nav_src_update_streaminfo), (gst_dvd_nav_src_set_domain), (gst_dvd_nav_src_update_highlight), (gst_dvd_nav_src_user_op), (dvdnav_get_event_name), (dvdnav_get_read_domain_name), (gst_dvd_nav_src_print_event), (gst_dvd_nav_src_make_dvd_event), (gst_dvd_nav_src_structure_set_uint64), (gst_dvd_nav_src_push_dvd_nav_packet_event), (gst_dvd_nav_src_push_clut_change_event), (read_vts_info), (gst_dvd_nav_src_push_titlelang_event), (gst_dvd_nav_src_process_next_block), (gst_dvd_nav_src_create), (gst_dvd_nav_src_start), (gst_dvd_nav_src_stop), (gst_dvd_nav_src_handle_navigation_event), (gst_dvd_nav_src_handle_seek_event), (gst_dvd_nav_src_src_event), (gst_dvd_nav_src_query_position), (gst_dvd_nav_src_query_duration), (gst_dvd_nav_src_query), (gst_dvd_nav_src_uri_get_type), (gst_dvd_nav_src_uri_get_protocols), (gst_dvd_nav_src_uri_get_uri), (gst_dvd_nav_src_uri_set_uri), (gst_dvd_nav_src_uri_handler_init), (gst_dvd_nav_src_do_init), (plugin_init): dvdnavsrc ported to 0.10, for the most part at least. Not quite ready for prime time yet though.
This commit is contained in:
parent
cb23bad1d5
commit
57d8b3a5fc
5 changed files with 1328 additions and 1126 deletions
31
ChangeLog
31
ChangeLog
|
@ -1,3 +1,34 @@
|
|||
2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* configure.ac:
|
||||
* ext/Makefile.am:
|
||||
* ext/dvdnav/Makefile.am:
|
||||
* ext/dvdnav/dvdnavsrc.c: (gst_dvd_nav_src_base_init),
|
||||
(gst_dvd_nav_src_class_init), (gst_dvd_nav_src_check_get_range),
|
||||
(gst_dvd_nav_src_init), (gst_dvd_nav_src_finalize),
|
||||
(gst_dvd_nav_src_is_open), (gst_dvd_nav_src_set_property),
|
||||
(gst_dvd_nav_src_get_property), (gst_dvd_nav_src_set_clock),
|
||||
(gst_dvd_nav_src_tca_seek), (gst_dvd_nav_src_update_streaminfo),
|
||||
(gst_dvd_nav_src_set_domain), (gst_dvd_nav_src_update_highlight),
|
||||
(gst_dvd_nav_src_user_op), (dvdnav_get_event_name),
|
||||
(dvdnav_get_read_domain_name), (gst_dvd_nav_src_print_event),
|
||||
(gst_dvd_nav_src_make_dvd_event),
|
||||
(gst_dvd_nav_src_structure_set_uint64),
|
||||
(gst_dvd_nav_src_push_dvd_nav_packet_event),
|
||||
(gst_dvd_nav_src_push_clut_change_event), (read_vts_info),
|
||||
(gst_dvd_nav_src_push_titlelang_event),
|
||||
(gst_dvd_nav_src_process_next_block), (gst_dvd_nav_src_create),
|
||||
(gst_dvd_nav_src_start), (gst_dvd_nav_src_stop),
|
||||
(gst_dvd_nav_src_handle_navigation_event),
|
||||
(gst_dvd_nav_src_handle_seek_event), (gst_dvd_nav_src_src_event),
|
||||
(gst_dvd_nav_src_query_position), (gst_dvd_nav_src_query_duration),
|
||||
(gst_dvd_nav_src_query), (gst_dvd_nav_src_uri_get_type),
|
||||
(gst_dvd_nav_src_uri_get_protocols), (gst_dvd_nav_src_uri_get_uri),
|
||||
(gst_dvd_nav_src_uri_set_uri), (gst_dvd_nav_src_uri_handler_init),
|
||||
(gst_dvd_nav_src_do_init), (plugin_init):
|
||||
dvdnavsrc ported to 0.10, for the most part at least. Not quite
|
||||
ready for prime time yet though.
|
||||
|
||||
2006-02-22 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* configure.ac:
|
||||
|
|
32
configure.ac
32
configure.ac
|
@ -269,6 +269,37 @@ GST_CHECK_FEATURE(DVDREAD, [dvdread library], dvdreadsrc, [
|
|||
AC_SUBST(DVDREAD_LIBS)
|
||||
])
|
||||
|
||||
dnl *** dvdnav ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_DVDNAV, true)
|
||||
GST_CHECK_FEATURE(DVDNAV, [dvdnav library], dvdnavsrc, [
|
||||
translit(dnm, m, l) AC_SUBST(DVDNAV_LIBS)
|
||||
translit(dnm, m, l) AC_SUBST(DVDNAV_CFLAGS)
|
||||
GST_CHECK_CONFIGPROG(DVDNAV, dvdnav-config)
|
||||
if test x"$HAVE_DVDNAV" = x"yes"; then
|
||||
dnl check version
|
||||
DVDNAV_VERSION=`dvdnav-config --version|head -n 1|sed 's/^.*) //'|sed 's/ (.*)//'`
|
||||
DVDNAV_MAJOR=`echo $DVDNAV_VERSION | cut -d. -f1 | sed s/[a-zA-Z\-].*//g`
|
||||
DVDNAV_MINOR=`echo $DVDNAV_VERSION | cut -d. -f2 | sed s/[a-zA-Z\-].*//g`
|
||||
DVDNAV_MICRO=`echo $DVDNAV_VERSION | cut -d. -f3 | sed s/[a-zA-Z\-].*//g`
|
||||
if [[ "$DVDNAV_MAJOR" -eq "0" ]] && \
|
||||
[[ "$DVDNAV_MINOR" -lt "1" ]]; then
|
||||
AC_MSG_WARN([libdvdnav >= 0.1.7 is required, you have $DVDNAV_VERSION])
|
||||
HAVE_DVDNAV="no"
|
||||
elif [[ "$DVDNAV_MAJOR" -eq "0" ]] && \
|
||||
[[ "$DVDNAV_MINOR" -eq "1" ]] && \
|
||||
[[ "$DVDNAV_MICRO" -lt "7" ]]; then
|
||||
AC_MSG_WARN([libdvdnav >= 0.1.7 is required, you have $DVDNAV_VERSION])
|
||||
HAVE_DVDNAV="no"
|
||||
fi
|
||||
fi
|
||||
dnl now check for dvdread/nav_print.h - see #133002
|
||||
AC_CHECK_HEADER(dvdread/nav_print.h, , [
|
||||
AC_MSG_WARN([header dvdread/nav_print.h from dvdread missing])
|
||||
HAVE_DVDNAV="no"
|
||||
])
|
||||
AS_SCRUB_INCLUDE(DVDNAV_CFLAGS)
|
||||
])
|
||||
|
||||
dnl *** lame ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
|
||||
GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
|
||||
|
@ -402,6 +433,7 @@ gst/realmedia/Makefile
|
|||
ext/Makefile
|
||||
ext/a52dec/Makefile
|
||||
ext/amrnb/Makefile
|
||||
ext/dvdnav/Makefile
|
||||
ext/dvdread/Makefile
|
||||
ext/lame/Makefile
|
||||
ext/mad/Makefile
|
||||
|
|
|
@ -16,11 +16,11 @@ else
|
|||
DVDREAD_DIR =
|
||||
endif
|
||||
|
||||
# if USE_DVDNAV
|
||||
# DVDNAV_DIR = dvdnav
|
||||
# else
|
||||
DVDNAV_DIR =
|
||||
# endif
|
||||
if USE_DVDNAV
|
||||
DVDNAV_DIR = dvdnav
|
||||
else
|
||||
DVDNAV_DIR =
|
||||
endif
|
||||
|
||||
if USE_LAME
|
||||
LAME_DIR = lame
|
||||
|
|
|
@ -1,9 +1,17 @@
|
|||
|
||||
plugin_LTLIBRARIES = libgstdvdnavsrc.la
|
||||
plugin_LTLIBRARIES = libgstdvdnav.la
|
||||
|
||||
libgstdvdnavsrc_la_SOURCES = dvdnavsrc.c
|
||||
libgstdvdnavsrc_la_CFLAGS = $(GST_CFLAGS) $(DVDNAV_CFLAGS)
|
||||
libgstdvdnavsrc_la_LIBADD = $(DVDNAV_LIBS)
|
||||
libgstdvdnavsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstdvdnav_la_SOURCES = dvdnavsrc.c
|
||||
libgstdvdnav_la_CFLAGS = \
|
||||
$(GST_CFLAGS) \
|
||||
$(GST_BASE_CFLAGS) \
|
||||
$(DVDNAV_CFLAGS)
|
||||
libgstdvdnav_la_LIBADD = \
|
||||
$(GST_BASE_LIBS) \
|
||||
$(DVDNAV_LIBS)
|
||||
libgstdvdnav_la_LDFLAGS = \
|
||||
$(GST_PLUGIN_LDFLAGS)
|
||||
|
||||
noinst_HEADERS = dvdnavsrc.h
|
||||
|
||||
EXTRA_DIST = README
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue