vlc.git
8 years agox264.c: add support for 8 and 10 bit encoding for all high10, high442 and high444...
Ilkka Ollakka [Thu, 5 Jan 2012 15:09:20 +0000 (17:09 +0200)]
x264.c: add support for 8 and 10 bit encoding for all high10, high442 and high444 profiles

8 years agox264.c: remote pts/dts scaling as it isn't needed nowadays
Ilkka Ollakka [Thu, 5 Jan 2012 13:50:10 +0000 (15:50 +0200)]
x264.c: remote pts/dts scaling as it isn't needed nowadays

8 years agox264.c: support high422,high444 and high10 encoding
Ilkka Ollakka [Thu, 5 Jan 2012 13:49:40 +0000 (15:49 +0200)]
x264.c: support high422,high444 and high10 encoding

10-bit encoding requires libx264 compiled with 10-bit support that doesn't
work with normal 8-bit input.

8 years agocontrib: upnp has config.* in a custom dir
Rafaël Carré [Thu, 5 Jan 2012 10:18:02 +0000 (05:18 -0500)]
contrib: upnp has config.* in a custom dir

8 years agocontrib: samplerate has config.* in a custom dir
Rafaël Carré [Thu, 5 Jan 2012 09:57:32 +0000 (04:57 -0500)]
contrib: samplerate has config.* in a custom dir

8 years agocontrib: dvbpsi has config.* in a custom dir
Rafaël Carré [Thu, 5 Jan 2012 09:29:46 +0000 (04:29 -0500)]
contrib: dvbpsi has config.* in a custom dir

8 years agocontrib: update config.{sub,guess} in some packages
Rafaël Carré [Thu, 5 Jan 2012 09:25:04 +0000 (04:25 -0500)]
contrib: update config.{sub,guess} in some packages

8 years agoRevert "contrib: run $(RECONF) in an arbitrary list of packages"
Rafaël Carré [Thu, 5 Jan 2012 09:22:35 +0000 (04:22 -0500)]
Revert "contrib: run $(RECONF) in an arbitrary list of packages"

This reverts commit c9a3688176a1571ab5cd9b77b6fddc3e1a110b62.

Conflicts:

contrib/src/dvbpsi/rules.mak

8 years agocontrib: lua: don't use localeconv()
Rafaël Carré [Thu, 5 Jan 2012 09:13:26 +0000 (04:13 -0500)]
contrib: lua: don't use localeconv()

not thread-safe, not available on android
just use '.' as decimal separator

8 years agoextra/tools: bump automake version
Rafaël Carré [Thu, 5 Jan 2012 09:02:15 +0000 (04:02 -0500)]
extra/tools: bump automake version

This version's config.{guess,sub} knows about android

8 years agocontrib: openjpeg: update config.{guess,sub}
Rafaël Carré [Thu, 5 Jan 2012 08:41:38 +0000 (03:41 -0500)]
contrib: openjpeg: update config.{guess,sub}

8 years agox264.c: use x264_param_apply_profile
Ilkka Ollakka [Thu, 5 Jan 2012 10:53:30 +0000 (12:53 +0200)]
x264.c: use x264_param_apply_profile

8 years agox264.c: move mbtree closer to other bitrate options
Ilkka Ollakka [Thu, 5 Jan 2012 10:50:38 +0000 (12:50 +0200)]
x264.c: move mbtree closer to other bitrate options

8 years agox264.c: partly revert vbv-bufsize option handling when bitrate is defined
Ilkka Ollakka [Thu, 5 Jan 2012 10:44:19 +0000 (12:44 +0200)]
x264.c: partly revert vbv-bufsize option handling when bitrate is defined

Previous code didn't actually behave so well with small keyints etc.

8 years agox264.c: support infinite keyint option with -1
Ilkka Ollakka [Thu, 5 Jan 2012 10:41:36 +0000 (12:41 +0200)]
x264.c: support infinite keyint option with -1

8 years agoQt4: Fixed uninitialized variable
Sharad Dixit [Thu, 5 Jan 2012 01:41:15 +0000 (02:41 +0100)]
Qt4: Fixed uninitialized variable

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agocontrib: libmpeg2 has autotool files in a custom dir
Rafaël Carré [Thu, 5 Jan 2012 01:08:17 +0000 (20:08 -0500)]
contrib: libmpeg2 has autotool files in a custom dir

8 years agocontrib: orc: fix android build
Rafaël Carré [Thu, 5 Jan 2012 01:03:59 +0000 (20:03 -0500)]
contrib: orc: fix android build

google's gcc doesn't understand 'restrict'. Use __restrict__

8 years agocontrib: fix schroedinger build with android toolchain
Rafaël Carré [Wed, 28 Dec 2011 15:24:21 +0000 (10:24 -0500)]
contrib: fix schroedinger build with android toolchain

google's gcc doesn't understand 'restrict'. Use __restrict__

8 years agocontrib: gnutls: fix android build
Rafaël Carré [Tue, 27 Dec 2011 02:13:32 +0000 (21:13 -0500)]
contrib: gnutls: fix android build

gl/ builds replacements for standard headers in case the system ones don't work
but it has the reverse effect: provided headers work and built ones don't

8 years agocontrib: update config.{guess,sub} on some old packages
Rafaël Carré [Thu, 5 Jan 2012 00:58:19 +0000 (19:58 -0500)]
contrib: update config.{guess,sub} on some old packages

8 years agocontrib: gme: fix android build
Rafaël Carré [Tue, 27 Dec 2011 02:10:39 +0000 (21:10 -0500)]
contrib: gme: fix android build

gcc doesn't understand __restrict, use __restrict__
might break MSVC++ compatibility

8 years agoUPDATE_AUTOCONFIG: use $(UNPACK_DIR)
Rafaël Carré [Thu, 5 Jan 2012 00:48:23 +0000 (19:48 -0500)]
UPDATE_AUTOCONFIG: use $(UNPACK_DIR)

We can't use $@ as we operate before the directory is renamed

8 years agomacosx: fixed build script
Felix Paul Kühne [Thu, 5 Jan 2012 00:36:38 +0000 (01:36 +0100)]
macosx: fixed build script

8 years agocontrib: add support for openssl to check the sha512 hashes
Felix Paul Kühne [Wed, 4 Jan 2012 17:49:38 +0000 (18:49 +0100)]
contrib: add support for openssl to check the sha512 hashes

8 years agoplugin support for "other" system (non Linux UNIX)
Rafaël Carré [Wed, 4 Jan 2012 23:59:51 +0000 (18:59 -0500)]
plugin support for "other" system (non Linux UNIX)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoFixed potential NULL dereference when openning splitted rar files.
Laurent Aimar [Tue, 3 Jan 2012 21:19:42 +0000 (22:19 +0100)]
Fixed potential NULL dereference when openning splitted rar files.

8 years agoFixed BDA support (close #5627).
Laurent Aimar [Tue, 3 Jan 2012 20:01:49 +0000 (21:01 +0100)]
Fixed BDA support (close #5627).

8 years agomotion control applesmc: fix for recent kernel
Rafaël Carré [Thu, 29 Dec 2011 04:56:06 +0000 (23:56 -0500)]
motion control applesmc: fix for recent kernel

Exact kernel version needed is unknown, but has been around since at least one year+
See initial commit of https://code.launchpad.net/~mikael-sesamiq/macfanctld/trunk

Initial support for applesmc was untested anyway (173420e8c2bb2d4c20278dae3beebd2f6aaf52e5)

8 years agocontrib: gmp: update config.{guess,sub}, needed for android
Rafaël Carré [Wed, 28 Dec 2011 16:03:50 +0000 (11:03 -0500)]
contrib: gmp: update config.{guess,sub}, needed for android

8 years agocontrib: helper to copy recent config.{guess,sub} from automake
Rafaël Carré [Wed, 28 Dec 2011 16:03:25 +0000 (11:03 -0500)]
contrib: helper to copy recent config.{guess,sub} from automake

8 years agovlc_fopen(): implement C11 "x" open flag
Rémi Denis-Courmont [Wed, 4 Jan 2012 19:20:10 +0000 (21:20 +0200)]
vlc_fopen(): implement C11 "x" open flag

8 years agoDo not use the monotonic clock if CS is missing
Rémi Denis-Courmont [Wed, 4 Jan 2012 19:10:50 +0000 (21:10 +0200)]
Do not use the monotonic clock if CS is missing

This can happen on some POSIX.2001 systems.

8 years agovlc_cond_init() only needs clock setup if CS is available
Rémi Denis-Courmont [Wed, 4 Jan 2012 19:09:59 +0000 (21:09 +0200)]
vlc_cond_init() only needs clock setup if CS is available

8 years agoXspf: fix crash
Jean-Baptiste Kempf [Wed, 4 Jan 2012 18:37:59 +0000 (19:37 +0100)]
Xspf: fix crash

See http://forum.videolan.org/viewtopic.php?f=12&t=96883

8 years agoextras/tools: added openssl needed for native compilation on Darwin 9 / OS X 10.5
Felix Paul Kühne [Wed, 4 Jan 2012 17:25:47 +0000 (18:25 +0100)]
extras/tools: added openssl needed for native compilation on Darwin 9 / OS X 10.5

8 years agomacosx: hide the mouse cursor in Lion fullscreen
Brendon Justin [Tue, 3 Jan 2012 20:33:25 +0000 (15:33 -0500)]
macosx: hide the mouse cursor in Lion fullscreen

Though #5327 is closed, 1.2 and 1.3 nightlies do not work
as expected.  The patch makes the cursor hide after every
mouse movement.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
8 years agoHttp: fix punctuation spacing
Jean-Baptiste Kempf [Wed, 4 Jan 2012 00:34:00 +0000 (01:34 +0100)]
Http: fix punctuation spacing

8 years agoAudiobar: add necessary spaces
Jean-Baptiste Kempf [Wed, 4 Jan 2012 00:32:47 +0000 (01:32 +0100)]
Audiobar: add necessary spaces

8 years agoQt: Fix typo
Jean-Baptiste Kempf [Wed, 4 Jan 2012 00:32:13 +0000 (01:32 +0100)]
Qt: Fix typo

8 years agoDShow: remove choices from translated string
Jean-Baptiste Kempf [Wed, 4 Jan 2012 00:28:49 +0000 (01:28 +0100)]
DShow: remove choices from translated string

Should simplify translators' work

8 years agoSubtitles: remove choices from translated strings.
Jean-Baptiste Kempf [Wed, 4 Jan 2012 00:27:45 +0000 (01:27 +0100)]
Subtitles: remove choices from translated strings.

Should help the translators

8 years agoupdate macosx/build.sh
Rafaël Carré [Tue, 3 Jan 2012 22:42:30 +0000 (17:42 -0500)]
update macosx/build.sh

8 years agoQt4: Add new timelabels to default layout
Edward Wang [Sun, 1 Jan 2012 19:04:59 +0000 (14:04 -0500)]
Qt4: Add new timelabels to default layout

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoQt4: allow more types of timeLabel in toolbars
Edward Wang [Sun, 1 Jan 2012 19:04:58 +0000 (14:04 -0500)]
Qt4: allow more types of timeLabel in toolbars

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoQt4: add the slower/faster buttons near the speed slider
Jean-Baptiste Kempf [Tue, 3 Jan 2012 17:34:13 +0000 (18:34 +0100)]
Qt4: add the slower/faster buttons near the speed slider

8 years agoQt4: allow speedlabel in toolbars
Edward Wang [Sun, 1 Jan 2012 19:04:57 +0000 (14:04 -0500)]
Qt4: allow speedlabel in toolbars

Modified-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoRemove dirfd() hacks
Rémi Denis-Courmont [Tue, 3 Jan 2012 16:35:02 +0000 (18:35 +0200)]
Remove dirfd() hacks

8 years agoDenote warnings in demuxer that can happen in normal situations
Jean-Baptiste Kempf [Tue, 3 Jan 2012 08:31:50 +0000 (09:31 +0100)]
Denote warnings in demuxer that can happen in normal situations

8 years agoQt4: Fix a small playlist docking bug
Edward Wang [Tue, 3 Jan 2012 04:57:36 +0000 (23:57 -0500)]
Qt4: Fix a small playlist docking bug

Fix a small playlist docking bug where the playlistWidget is not properly set as a Qt::Widget, causing it to behave inappropriately.

Close #5773

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoNEWS: IPv6 fix-up
Pierre Ynard [Tue, 3 Jan 2012 01:37:48 +0000 (02:37 +0100)]
NEWS: IPv6 fix-up

8 years agoVLC-tmp.app : remove .app suffix
Rafaël Carré [Tue, 3 Jan 2012 00:47:11 +0000 (19:47 -0500)]
VLC-tmp.app : remove .app suffix

It doesn't give an OSX application

8 years agoRevert "macosx: remove the intermediate VLC-tmp.app after creating either VLC.app...
Rafaël Carré [Tue, 3 Jan 2012 00:45:45 +0000 (19:45 -0500)]
Revert "macosx: remove the intermediate VLC-tmp.app after creating either VLC.app or VLC-release.app since it is of no use without further processing"

This reverts commit 0c1d889772c303da34ea305bf808bc03ad5755df.

8 years agofix missing reference for _POSIX_HOST_NAME_MAX on FreeBSD.
Geraud CONTINSOUZAS [Mon, 2 Jan 2012 22:55:39 +0000 (09:55 +1100)]
fix missing reference for _POSIX_HOST_NAME_MAX on FreeBSD.

FreeBSD declares it in limits.h. Add the proper include.

Signed-off-by: Rafaël Carré <funman@videolan.org>
8 years agofix missing dirfd references for FreeBSD
Geraud CONTINSOUZAS [Mon, 2 Jan 2012 22:50:16 +0000 (09:50 +1100)]
fix missing dirfd references for FreeBSD

Signed-off-by: Rafaël Carré <funman@videolan.org>
8 years agoQt: allow opening of BDMV hierarchies through open folder
Jean-Baptiste Kempf [Mon, 2 Jan 2012 22:11:41 +0000 (23:11 +0100)]
Qt: allow opening of BDMV hierarchies through open folder

8 years agoQt4: pause on minimize is off by default
Jean-Baptiste Kempf [Mon, 2 Jan 2012 21:26:55 +0000 (22:26 +0100)]
Qt4: pause on minimize is off by default

8 years agoQt4: negative days for updates checking makes no sense
Jean-Baptiste Kempf [Mon, 2 Jan 2012 21:25:58 +0000 (22:25 +0100)]
Qt4: negative days for updates checking makes no sense

8 years agoQt: remove unneeded debug message
Jean-Baptiste Kempf [Mon, 2 Jan 2012 19:14:14 +0000 (20:14 +0100)]
Qt: remove unneeded debug message

8 years agoQt4: Actually save when a convert profile is deleted
Edward Wang [Mon, 2 Jan 2012 15:42:02 +0000 (16:42 +0100)]
Qt4: Actually save when a convert profile is deleted

Close #5769
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoQt4: Fix docked playlist videoWidget bug
Edward Wang [Mon, 2 Jan 2012 14:58:49 +0000 (15:58 +0100)]
Qt4: Fix docked playlist videoWidget bug

Fixes issue where docked playlist doesn't "release" its embedded videoWidget
Close #5588

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoFix typo in M4 Cxx flags macro
Faustino E. Osuna [Mon, 2 Jan 2012 13:30:48 +0000 (14:30 +0100)]
Fix typo in M4 Cxx flags macro

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoQt: Move the clear playlist button to the context menu
Edward Wang [Mon, 2 Jan 2012 13:02:56 +0000 (14:02 +0100)]
Qt: Move the clear playlist button to the context menu

Modified-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agomacosx: remove some more intermediates creating when packaging and creating the dmg
Felix Paul Kühne [Mon, 2 Jan 2012 12:32:08 +0000 (13:32 +0100)]
macosx: remove some more intermediates creating when packaging and creating the dmg

8 years agoQt4: code cosmetics
Jean-Baptiste Kempf [Mon, 2 Jan 2012 11:24:05 +0000 (12:24 +0100)]
Qt4: code cosmetics

8 years agoQt: ensure currentItem() to be not NULL in PLSelector
Edward Wang [Mon, 2 Jan 2012 11:16:50 +0000 (12:16 +0100)]
Qt: ensure currentItem() to be not NULL in PLSelector

Close #5764
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoball: zero-initialize video_format_t to prevent crash with packed chroma.
Cheng Sun [Sun, 1 Jan 2012 23:26:31 +0000 (23:26 +0000)]
ball: zero-initialize video_format_t to prevent crash with packed chroma.

The ball filter requires that fmt_comp.video.p_palette is NULL, otherwise
image_HandlerDelete tries to free it.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoPsyche/sharpen: Add chroma checks to prevent crashes
Cheng Sun [Sun, 1 Jan 2012 23:25:23 +0000 (23:25 +0000)]
Psyche/sharpen: Add chroma checks to prevent crashes

or malfunctionning filters

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoMinor fixes to spelling in documentation
Cheng Sun [Sun, 1 Jan 2012 23:36:31 +0000 (23:36 +0000)]
Minor fixes to spelling in documentation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoHappy New Year
Jean-Baptiste Kempf [Mon, 2 Jan 2012 00:00:51 +0000 (01:00 +0100)]
Happy New Year

8 years agoNEWS: --http-host expects URL-style bracket-enclosed IPv6 addresses
Pierre Ynard [Sun, 1 Jan 2012 15:56:01 +0000 (16:56 +0100)]
NEWS: --http-host expects URL-style bracket-enclosed IPv6 addresses

Unfortunately there is not much we can do until we ditch the legacy
<host>:<port> syntax for good

8 years agostream_filter/httplive.c: improve comment somewhat.
Jean-Paul Saman [Sat, 31 Dec 2011 09:43:07 +0000 (10:43 +0100)]
stream_filter/httplive.c: improve comment somewhat.

8 years agoQt: remember last opened directory
Jean-Baptiste Kempf [Sat, 31 Dec 2011 03:29:06 +0000 (04:29 +0100)]
Qt: remember last opened directory

8 years agoQt4: Make playlist window drag&drop to current selected PLSelItem
Edward Wang [Sat, 31 Dec 2011 02:58:12 +0000 (21:58 -0500)]
Qt4: Make playlist window drag&drop to current selected PLSelItem

Will make playlist window drag and drop to current selection (either media library or playlist).
This should make it somewhat more user friendly because it drops into where the user expects it to.

Fixes #4873

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoQt4: Show fullscreen docking button in defaults
Edward Wang [Fri, 30 Dec 2011 22:48:51 +0000 (17:48 -0500)]
Qt4: Show fullscreen docking button in defaults

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoFile audio output: remove useless longhelp
Jean-Baptiste Kempf [Sat, 31 Dec 2011 02:04:42 +0000 (03:04 +0100)]
File audio output: remove useless longhelp

We have the format selection for that

8 years agovcd ioctl_ReadSectors() : factorize error case
Rafaël Carré [Fri, 30 Dec 2011 21:30:11 +0000 (16:30 -0500)]
vcd ioctl_ReadSectors() : factorize error case

8 years agomacosx: fix another rendering issue with the 'time slider's fancy gradient effect'
Felix Paul Kühne [Fri, 30 Dec 2011 20:20:23 +0000 (21:20 +0100)]
macosx: fix another rendering issue with the 'time slider's fancy gradient effect'

8 years agomacosx: fixed progress bar position (refs #5742)
Felix Paul Kühne [Fri, 30 Dec 2011 19:46:16 +0000 (20:46 +0100)]
macosx: fixed progress bar position (refs #5742)

8 years agomacosx: fixed round window corners when using the black UI mode (refs #5742)
Felix Paul Kühne [Fri, 30 Dec 2011 19:29:57 +0000 (20:29 +0100)]
macosx: fixed round window corners when using the black UI mode (refs #5742)

8 years agodash: Working arround specifications ambiguity.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 18:07:29 +0000 (19:07 +0100)]
dash: Working arround specifications ambiguity.

profile is spelled once as "profile", and "profiles" a few line after,
so we now handle both.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Don't crash if we don't have a valid mpdManager.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 18:02:32 +0000 (19:02 +0100)]
dash: Don't crash if we don't have a valid mpdManager.

This will happen when the profil is invalid.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoDash: fix win32 compilation
Jean-Baptiste Kempf [Fri, 30 Dec 2011 17:54:41 +0000 (18:54 +0100)]
Dash: fix win32 compilation

8 years agodash: Parsing SegmentInfoDefault & SegmentTimeline elements.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 14:09:32 +0000 (15:09 +0100)]
dash: Parsing SegmentInfoDefault & SegmentTimeline elements.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Only use const Segments.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 14:06:43 +0000 (15:06 +0100)]
dash: Only use const Segments.

Everything after the parsing step should be used as a const instance, as
the MPD tree is read only.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Adding an implementation for SegmentInfoDefault element.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 12:50:27 +0000 (13:50 +0100)]
dash: Adding an implementation for SegmentInfoDefault element.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Adding a SegmentInfoCommon class.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 12:08:33 +0000 (13:08 +0100)]
dash: Adding a SegmentInfoCommon class.

This holds common property for both SegmentInfo and SegmentInfoDefault.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Implementing the basics for SegmentTimeline.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 10:58:46 +0000 (11:58 +0100)]
dash: Implementing the basics for SegmentTimeline.

This will be usefull when implementing UrlTemplate.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Reworking MPD tree building.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 16:46:22 +0000 (17:46 +0100)]
dash: Reworking MPD tree building.

First build a DOM tree, then compute the MPD tree.
This should ease the pain later when implementing UrlTemplate elements.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Parser: Ignore segments without sourceURL
Hugo Beauzée-Luyssen [Thu, 29 Dec 2011 12:19:53 +0000 (13:19 +0100)]
dash: Parser: Ignore segments without sourceURL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Removing now useless AttributeNotPresentException
Hugo Beauzée-Luyssen [Thu, 29 Dec 2011 11:22:59 +0000 (12:22 +0100)]
dash: Removing now useless AttributeNotPresentException

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Removing now unused ElementNotPresentException
Hugo Beauzée-Luyssen [Thu, 29 Dec 2011 11:09:57 +0000 (12:09 +0100)]
dash: Removing now unused ElementNotPresentException

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Adding support for Representation's TrickMode element
Hugo Beauzée-Luyssen [Thu, 29 Dec 2011 10:27:02 +0000 (11:27 +0100)]
dash: Adding support for Representation's TrickMode element

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Handling Group @subsegmentAlignmentFlag in parser.
Hugo Beauzée-Luyssen [Thu, 29 Dec 2011 09:55:31 +0000 (10:55 +0100)]
dash: Handling Group @subsegmentAlignmentFlag in parser.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Don't require the Representation @id. Many stream won't provide it.
Hugo Beauzée-Luyssen [Wed, 28 Dec 2011 16:32:34 +0000 (17:32 +0100)]
dash: Don't require the Representation @id. Many stream won't provide it.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Try to fetch mimeType attribute from the parent element.
Hugo Beauzée-Luyssen [Wed, 28 Dec 2011 16:30:13 +0000 (17:30 +0100)]
dash: Try to fetch mimeType attribute from the parent element.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Removing useless using namespace;
Hugo Beauzée-Luyssen [Wed, 28 Dec 2011 14:51:53 +0000 (15:51 +0100)]
dash: Removing useless using namespace;

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Reworking profile handling.
Hugo Beauzée-Luyssen [Fri, 30 Dec 2011 16:37:51 +0000 (17:37 +0100)]
dash: Reworking profile handling.

Adding Full2011 as a supported profile.
For other profiles, do not instantiate a NullManager.
Return NULL directly. This saves code and prevents us from maintaining an
extra interface implementation.
Also it prevents such problems :
http://forum.videolan.org/viewtopic.php?f=13&t=96335&p=320162

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Handle parsing of ContentProtection, Accessibility, Rating and Viewpoint in...
Hugo Beauzée-Luyssen [Sun, 25 Dec 2011 19:26:10 +0000 (20:26 +0100)]
dash: Handle parsing of ContentProtection, Accessibility, Rating and Viewpoint in CommonAttributesElements

All of these fields are of ContentDescription type, so
ContentProtection, Viewpoint, Rating and Accessibility classes are now
removed in favour of a unique class.
Moreover, the SchemeInformation is defined as a string by the standard.
Therefore, the SchemeInformation class has been removed.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodash: Don't use the module when MPD parsing failed.
Hugo Beauzée-Luyssen [Sun, 25 Dec 2011 00:11:52 +0000 (01:11 +0100)]
dash: Don't use the module when MPD parsing failed.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>