]> git.sesse.net Git - vlc/log
vlc
13 years agoVisual: code cosmetics and comments
Jean-Baptiste Kempf [Sat, 15 Jan 2011 15:08:41 +0000 (16:08 +0100)]
Visual: code cosmetics and comments

13 years agoGoom: remove unnecessary includes and delete GOOM_TREE mode
Jean-Baptiste Kempf [Sat, 15 Jan 2011 15:01:41 +0000 (16:01 +0100)]
Goom: remove unnecessary includes and delete GOOM_TREE mode

13 years agoWin32: configure scripts updates
Jean-Baptiste Kempf [Sat, 15 Jan 2011 14:56:39 +0000 (15:56 +0100)]
Win32: configure scripts updates

13 years agoContribs: do not build Dirac per default on Win32|64 and on Mac
Jean-Baptiste Kempf [Sat, 15 Jan 2011 14:35:09 +0000 (15:35 +0100)]
Contribs: do not build Dirac per default on Win32|64 and on Mac

13 years agoSchroedinger: fix copyright year, and NEWS
Jean-Baptiste Kempf [Sat, 15 Jan 2011 14:29:26 +0000 (15:29 +0100)]
Schroedinger: fix copyright year, and NEWS

13 years agoSchroendinger: improve preferences integration
Jean-Baptiste Kempf [Sat, 15 Jan 2011 14:26:12 +0000 (15:26 +0100)]
Schroendinger: improve preferences integration

13 years agoRemove references to removed structures
Pierre Ynard [Thu, 13 Jan 2011 20:53:19 +0000 (21:53 +0100)]
Remove references to removed structures

13 years agomissing: build fix
Pierre Ynard [Thu, 13 Jan 2011 19:02:07 +0000 (20:02 +0100)]
missing: build fix

13 years agolibvlccore: do not link against the C++ run-time
Rémi Denis-Courmont [Thu, 13 Jan 2011 18:21:38 +0000 (20:21 +0200)]
libvlccore: do not link against the C++ run-time

libvlccore must not refer to .cpp files.

13 years agoQt4: fix convert dialog
Rémi Denis-Courmont [Thu, 13 Jan 2011 17:59:02 +0000 (19:59 +0200)]
Qt4: fix convert dialog

The mux was not passed in the chain.
This is a regression in f01fe561104e3c62fe77366d3c19b77bf8776a9a.

13 years agoDisable the media library by default due polling timers
Rémi Denis-Courmont [Thu, 13 Jan 2011 16:42:21 +0000 (18:42 +0200)]
Disable the media library by default due polling timers

13 years agoAdd Dirac encoding support to VLC using the Schroedinger library.
Anuradha Suraparaju [Tue, 11 Jan 2011 03:09:31 +0000 (14:09 +1100)]
Add Dirac encoding support to VLC using the Schroedinger library.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoRemove unused factory pattern for SDP announces
Rémi Denis-Courmont [Wed, 12 Jan 2011 21:40:57 +0000 (23:40 +0200)]
Remove unused factory pattern for SDP announces

13 years agoHave bool MLModel::setData return a value in any case.
Dominique Leuenberger [Wed, 12 Jan 2011 18:43:28 +0000 (19:43 +0100)]
Have bool MLModel::setData return a value in any case.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
13 years agohttpd: use locale-independent us_vasprintf() to write HTTP headers
Pierre Ynard [Wed, 12 Jan 2011 18:37:51 +0000 (19:37 +0100)]
httpd: use locale-independent us_vasprintf() to write HTTP headers

This will be useful for RTSP.

13 years agoAdd us_vasprintf() function
Pierre Ynard [Wed, 12 Jan 2011 18:33:19 +0000 (19:33 +0100)]
Add us_vasprintf() function

For use within already variadic functions

13 years agoskins2: use of vlc_mutex_locker simplifies things a bit
Erwan Tulou [Wed, 12 Jan 2011 17:33:56 +0000 (18:33 +0100)]
skins2: use of vlc_mutex_locker simplifies things a bit

pointed out by courmish

13 years agoskins2: rework skins2 as a vout_window provider
Erwan Tulou [Wed, 12 Jan 2011 13:29:44 +0000 (14:29 +0100)]
skins2: rework skins2 as a vout_window provider

  - remove the awkward global lock and serializer mechanism
  - adapt to latest module API (fix compil errors)
  - be more specific about hwnd or xid depending on port
  - set display.x11 on Linux port

13 years agodrawable(Win32): fix compil
Erwan Tulou [Wed, 12 Jan 2011 14:09:47 +0000 (15:09 +0100)]
drawable(Win32): fix compil

13 years agoUse make_URI() when creating input slaves
Pierre Ynard [Wed, 12 Jan 2011 00:41:38 +0000 (01:41 +0100)]
Use make_URI() when creating input slaves

13 years agovout_window: use custom entry callback
Rémi Denis-Courmont [Tue, 11 Jan 2011 20:31:33 +0000 (22:31 +0200)]
vout_window: use custom entry callback

13 years agoSupport different prototype for plugin open/close callbacks
Rémi Denis-Courmont [Tue, 11 Jan 2011 20:02:59 +0000 (22:02 +0200)]
Support different prototype for plugin open/close callbacks

We can now pass any number and type of parameter to the callbacks.
This way, we do not need to clutter the object structure with
properties that only make sense during activation. In fact, we do
not need to use VLC objects at all anymore.

13 years agocdg: clean up preprocessor constants
Rémi Denis-Courmont [Tue, 11 Jan 2011 18:16:17 +0000 (20:16 +0200)]
cdg: clean up preprocessor constants

13 years agoFix heap overflows in CDG decoder
Dan Rosenberg [Fri, 7 Jan 2011 16:06:08 +0000 (11:06 -0500)]
Fix heap overflows in CDG decoder

This patch resolves two heap corruption vulnerabilities in the CDG
decoder for VLC media player.  In both cases, a failure to properly
validate indexes into statically-sized arrays on the heap could allow a
maliciously crafted CDG video to corrupt the heap in a controlled
manner, potentially leading to code execution.

The patch is against v1.1.5 from vlc git, but this decoder hasn't been
touched in awhile, so I'd expect it to cleanly apply to older versions.
I've tested it and confirmed it resolves the heap corruption issues and
does not break functionality.

(...)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoEGL: compile fix
Rémi Denis-Courmont [Tue, 11 Jan 2011 18:16:44 +0000 (20:16 +0200)]
EGL: compile fix

13 years agoFix file permissions
Rémi Denis-Courmont [Tue, 11 Jan 2011 17:47:05 +0000 (19:47 +0200)]
Fix file permissions

13 years agoRevert file permission
Rémi Denis-Courmont [Tue, 11 Jan 2011 17:45:44 +0000 (19:45 +0200)]
Revert file permission

13 years agoSymbian: fix compilation and small include improvement
Jean-Baptiste Kempf [Mon, 10 Jan 2011 23:10:18 +0000 (00:10 +0100)]
Symbian: fix compilation and small include improvement

13 years agoSymbian Specific Directories
Pankaj Yadav [Mon, 10 Jan 2011 22:39:15 +0000 (04:09 +0530)]
Symbian Specific Directories

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoSymbian: kill warnings, remove unecessary includes and style on path.cpp
Jean-Baptiste Kempf [Mon, 10 Jan 2011 22:48:49 +0000 (23:48 +0100)]
Symbian: kill warnings, remove unecessary includes and style on path.cpp

13 years agoSymbian App private path and build changes
Pankaj Yadav [Sun, 9 Jan 2011 21:29:33 +0000 (02:59 +0530)]
Symbian App private path and build changes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoYADIF : Code the instruction width into 'cmp'.
Jai Menon [Sun, 9 Jan 2011 17:36:55 +0000 (11:36 -0600)]
YADIF : Code the instruction width into 'cmp'.

Without this, clang will complain about the asm block.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoSet text scale only once per subpicture.
Laurent Aimar [Sun, 9 Jan 2011 00:21:48 +0000 (01:21 +0100)]
Set text scale only once per subpicture.

13 years agoImproved SpuRenderSubpictures() output region linking.
Laurent Aimar [Sun, 19 Dec 2010 13:19:30 +0000 (14:19 +0100)]
Improved SpuRenderSubpictures() output region linking.

13 years agoClean up a bit vout_subpicture.c (no functionnal changes).
Laurent Aimar [Sat, 18 Dec 2010 11:45:47 +0000 (12:45 +0100)]
Clean up a bit vout_subpicture.c (no functionnal changes).

13 years agoSimplify a bit text re-rendering.
Laurent Aimar [Sat, 18 Dec 2010 11:16:43 +0000 (12:16 +0100)]
Simplify a bit text re-rendering.

13 years agoMade SpuRegionPlace() code a bit more obvious.
Laurent Aimar [Sat, 18 Dec 2010 11:11:04 +0000 (12:11 +0100)]
Made SpuRegionPlace() code a bit more obvious.

13 years agoReworked the code doing the blending in vout.
Laurent Aimar [Tue, 14 Dec 2010 19:57:32 +0000 (20:57 +0100)]
Reworked the code doing the blending in vout.

It is a bit cleaner and properly check for slow write pictures. It also
prepare for letting the vout display to do the blending, and when not
available to blend after the resize (not activated).

13 years agoFixed typo in vout subpicture rendering regarding AR.
Laurent Aimar [Mon, 13 Dec 2010 19:33:15 +0000 (20:33 +0100)]
Fixed typo in vout subpicture rendering regarding AR.

13 years agoMerged vout_RenderWrapper/vout_DisplayWrapper directly into ThreadDisplayRenderPicture.
Laurent Aimar [Sun, 12 Dec 2010 19:08:19 +0000 (20:08 +0100)]
Merged vout_RenderWrapper/vout_DisplayWrapper directly into ThreadDisplayRenderPicture.

13 years agoAdded missing picture_Release() in snapshot.c
Laurent Aimar [Sun, 12 Dec 2010 16:24:32 +0000 (17:24 +0100)]
Added missing picture_Release() in snapshot.c

13 years agoRemoved useless empty vout_display_t::manage functions in some modules.
Laurent Aimar [Sun, 12 Dec 2010 16:23:36 +0000 (17:23 +0100)]
Removed useless empty vout_display_t::manage functions in some modules.

13 years agoAllowed a vout_display_t module to do the OSD/subtitles blending.
Laurent Aimar [Sun, 12 Dec 2010 16:19:36 +0000 (17:19 +0100)]
Allowed a vout_display_t module to do the OSD/subtitles blending.

You have to set the list of chromas the module support in
vout_display_t::info.subpicture_chromas and then handle the subpicture_t
parameters in vout_display_t::prepare/display.

13 years agoExtended spu_Render to accept a list of supported chroma for blending.
Laurent Aimar [Sun, 12 Dec 2010 00:57:14 +0000 (01:57 +0100)]
Extended spu_Render to accept a list of supported chroma for blending.

13 years agoCleaned up a bit vout_subpictures includes.
Laurent Aimar [Sun, 12 Dec 2010 00:37:17 +0000 (01:37 +0100)]
Cleaned up a bit vout_subpictures includes.

13 years agoNo functionnal changes (spu).
Laurent Aimar [Sun, 12 Dec 2010 00:30:40 +0000 (01:30 +0100)]
No functionnal changes (spu).

Reorder the function declarations to avoid forward declarations.

13 years agoRenamed spu_DisplaySubpicture into spu_PutSubpicture.
Laurent Aimar [Sun, 12 Dec 2010 00:11:22 +0000 (01:11 +0100)]
Renamed spu_DisplaySubpicture into spu_PutSubpicture.

13 years agoReworked the way subtitles are rendered on video.
Laurent Aimar [Sun, 12 Dec 2010 00:03:10 +0000 (01:03 +0100)]
Reworked the way subtitles are rendered on video.

I have merged spu_RenderSubpictures and spu_SortSubpictures and removed the
blending from spu_RenderSubpictures. No functionnal changes except maybe
a bit for the transcode plugin.

13 years agoUsed picture_BlendSubpicture for rendering OSD/subtitles in vout.
Laurent Aimar [Sat, 11 Dec 2010 17:39:45 +0000 (18:39 +0100)]
Used picture_BlendSubpicture for rendering OSD/subtitles in vout.

13 years agoAdded picture_BlendSubpicture helper.
Laurent Aimar [Sat, 11 Dec 2010 17:32:42 +0000 (18:32 +0100)]
Added picture_BlendSubpicture helper.

It blends a subpicture onto a picture.

13 years agoRevert "Fix render picture out-of-memory handling"
Laurent Aimar [Sun, 9 Jan 2011 21:29:29 +0000 (22:29 +0100)]
Revert "Fix render picture out-of-memory handling"

This reverts commit 8acffd0c9b4f5cd08e1ff306f204c1f2a864a583.

It has nothing to do with the patch in itself (which is perfectly fine)
but it conflicts too much with the following patches (which will also fix
the issue). I hope it's ok.

13 years agoProperly reset pictures created for vout filters.
Laurent Aimar [Sun, 9 Jan 2011 20:49:34 +0000 (21:49 +0100)]
Properly reset pictures created for vout filters.

13 years agoChanged picture_fifo_Pop/picture_pool_Get to set picture_t::p_next to NULL.
Laurent Aimar [Sun, 9 Jan 2011 20:46:26 +0000 (21:46 +0100)]
Changed picture_fifo_Pop/picture_pool_Get to set picture_t::p_next to NULL.

13 years agoLicensed OK presets for projectM
Sébastien Toque [Sun, 9 Jan 2011 20:45:25 +0000 (21:45 +0100)]
Licensed OK presets for projectM

Distributions usually ship different ones whose license are unknown

13 years agoProjectM/Milkdrop default presets path on windows using datadir
Sébastien Toque [Sun, 9 Jan 2011 20:40:52 +0000 (21:40 +0100)]
ProjectM/Milkdrop default presets path on windows using datadir

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoContribs: remove unneeded patch
Jean-Baptiste Kempf [Sun, 9 Jan 2011 19:14:59 +0000 (20:14 +0100)]
Contribs: remove unneeded patch

13 years agoQt/ML: Extend Playlist model from VLCModel
Srikanth Raju [Wed, 29 Dec 2010 14:19:20 +0000 (19:49 +0530)]
Qt/ML: Extend Playlist model from VLCModel

13 years agoQt/ML: ML Model and Item
Srikanth Raju [Wed, 29 Dec 2010 14:17:46 +0000 (19:47 +0530)]
Qt/ML: ML Model and Item

ML Model/Item which queries the module and provides a QAbstractItemModel Interface

13 years agoQt/ML: VLC Model
Srikanth Raju [Wed, 29 Dec 2010 13:59:50 +0000 (19:29 +0530)]
Qt/ML: VLC Model

Base parent model for playlist

13 years agoProvide a variant of the CALL macro which doesn't use the nested functions GNU C...
Jai Menon [Sun, 9 Jan 2011 17:36:54 +0000 (11:36 -0600)]
Provide a variant of the CALL macro which doesn't use the nested functions GNU C extension.

This is useful when building with compilers like clang+llvm which do not
plan on implementing this extension.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoxlib: don't abort if autodetection fails
Rémi Denis-Courmont [Sun, 9 Jan 2011 16:38:09 +0000 (18:38 +0200)]
xlib: don't abort if autodetection fails

13 years agoFix win* compilation and cosmetics
Jean-Baptiste Kempf [Sun, 9 Jan 2011 18:13:41 +0000 (19:13 +0100)]
Fix win* compilation and cosmetics

Sorry for the mistake

13 years agoSymbian: work-around the absence of pread/pwrite
Jean-Baptiste Kempf [Wed, 24 Nov 2010 13:21:15 +0000 (14:21 +0100)]
Symbian: work-around the absence of pread/pwrite

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoExpose a HAVE_SYMBIAN for symbian
Jean-Baptiste Kempf [Sun, 9 Jan 2011 17:47:31 +0000 (18:47 +0100)]
Expose a HAVE_SYMBIAN for symbian

Reported by Pankaj Yadav

13 years agoWe are in 2011
Jean-Baptiste Kempf [Sun, 9 Jan 2011 16:39:54 +0000 (17:39 +0100)]
We are in 2011

13 years agoWin32: do not delete preferences by default on install
Jean-Baptiste Kempf [Sun, 9 Jan 2011 16:36:02 +0000 (17:36 +0100)]
Win32: do not delete preferences by default on install

13 years agoAndroid: add a configure script.
Rémi Duraffort [Sun, 9 Jan 2011 15:48:45 +0000 (16:48 +0100)]
Android: add a configure script.

13 years agoContribs: update the live555 patch
Jean-Baptiste Kempf [Sun, 9 Jan 2011 15:35:29 +0000 (16:35 +0100)]
Contribs: update the live555 patch

13 years agoML: fix memory leak.
Rémi Duraffort [Sun, 9 Jan 2011 15:10:06 +0000 (16:10 +0100)]
ML: fix memory leak.

13 years agoupdate LIST.
Rémi Duraffort [Sun, 9 Jan 2011 10:19:41 +0000 (11:19 +0100)]
update LIST.

13 years agoprojectM: use add_directory for the preset directory.
Sébastien Toque [Sun, 9 Jan 2011 09:47:08 +0000 (10:47 +0100)]
projectM: use add_directory for the preset directory.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
13 years agoQt4: fix adding items on Win32
Rémi Denis-Courmont [Fri, 7 Jan 2011 21:54:59 +0000 (23:54 +0200)]
Qt4: fix adding items on Win32

Pointed-out-by: 김정은 <sunqueen@paran.com>
13 years agoqt4: fix object leak.
Rémi Duraffort [Fri, 7 Jan 2011 21:40:16 +0000 (22:40 +0100)]
qt4: fix object leak.

13 years agolive555: print library version in debug
Rémi Denis-Courmont [Fri, 7 Jan 2011 20:38:00 +0000 (22:38 +0200)]
live555: print library version in debug

13 years agolive555 : fix typo
Sébastien Escudier [Fri, 7 Jan 2011 09:51:08 +0000 (10:51 +0100)]
live555 : fix typo

13 years agodemux/asf: make sure we seek to keyframes
Gildas Bazin [Thu, 6 Jan 2011 20:44:33 +0000 (20:44 +0000)]
demux/asf: make sure we seek to keyframes

13 years agocodec/avcodec: fix late frames skipping with h264 (use AVDISCARD_NONREF instead of...
Gildas Bazin [Thu, 6 Jan 2011 20:42:45 +0000 (20:42 +0000)]
codec/avcodec: fix late frames skipping with h264 (use AVDISCARD_NONREF instead of AVDISCARD_BIDIR)

13 years agolive: add audio/L24
Rémi Denis-Courmont [Thu, 6 Jan 2011 16:52:57 +0000 (18:52 +0200)]
live: add audio/L24

This requires a bleeding edge liblive555 - not tested.

13 years agolive: set sampe size for G.711
Rémi Denis-Courmont [Thu, 6 Jan 2011 16:52:34 +0000 (18:52 +0200)]
live: set sampe size for G.711

13 years agolive: use VLC_CODEC_* for L8 and L16
Rémi Denis-Courmont [Thu, 6 Jan 2011 16:50:27 +0000 (18:50 +0200)]
live: use VLC_CODEC_* for L8 and L16

13 years agoQt: option for enabling / disabling changes to its icon
Ernest E. Teem III [Thu, 6 Jan 2011 14:32:21 +0000 (15:32 +0100)]
Qt: option for enabling / disabling changes to its icon

Modified by Jean-Baptiste Kempf, to fit option style

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoFix render picture out-of-memory handling
Rémi Denis-Courmont [Wed, 5 Jan 2011 17:32:47 +0000 (19:32 +0200)]
Fix render picture out-of-memory handling

13 years agoSupport for more wFormatTag, especially Sipr/amr
Jean-Baptiste Kempf [Wed, 5 Jan 2011 12:26:19 +0000 (13:26 +0100)]
Support for more wFormatTag, especially Sipr/amr

13 years agostream_filter/httplive.c: struct hls_thread_s no longer needed
Jean-Paul Saman [Wed, 5 Jan 2011 09:38:40 +0000 (10:38 +0100)]
stream_filter/httplive.c: struct hls_thread_s no longer needed

All members that where previously part of struct hls_thread_s have been
moved to stream_sys_t. The purpose of having this structure and vlc_object_t
is no longer needed.

13 years agoRTP output: add audio/L24 (untested)
Rémi Denis-Courmont [Tue, 4 Jan 2011 22:23:05 +0000 (00:23 +0200)]
RTP output: add audio/L24 (untested)

13 years agoQt: Add sepia video filter to effects dialog
Branko Kokanovic [Tue, 4 Jan 2011 19:57:08 +0000 (20:57 +0100)]
Qt: Add sepia video filter to effects dialog

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agovideo filter refactor (trying to reuse functions)
Branko Kokanovic [Sat, 11 Dec 2010 17:51:57 +0000 (18:51 +0100)]
video filter refactor (trying to reuse functions)

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agostream_filter/httplive.c: Rename p_sys->*.current to p_sys->*.stream
Jean-Paul Saman [Tue, 4 Jan 2011 12:36:10 +0000 (13:36 +0100)]
stream_filter/httplive.c: Rename p_sys->*.current to p_sys->*.stream

Rename p_sys->download.current and p_sys->playback.current to
p_sys->download.stream and p_sys->playback.stream.

13 years agostream_filter/httplive.c: Start playback of live HLS streams near the end of the...
Jean-Paul Saman [Tue, 4 Jan 2011 12:26:52 +0000 (13:26 +0100)]
stream_filter/httplive.c: Start playback of live HLS streams near the end of the playlist.

Playback of live streams with HLS started at index 0 from the downloaded playlists. For
live streams it is more natural to be closer to the end of the playlist, but not within
the last 3 segments of the stream.

13 years agostream_filter/httplive.c: quiet down playback stalling warning.
Jean-Paul Saman [Tue, 4 Jan 2011 10:47:23 +0000 (11:47 +0100)]
stream_filter/httplive.c: quiet down playback stalling warning.

The playback stalling warning was printed too often. Only print this message when
playback is in real danger and check only on segment boundaries.

13 years agoTypo
Rémi Denis-Courmont [Mon, 3 Jan 2011 19:20:28 +0000 (21:20 +0200)]
Typo

13 years agoRemove Christian references
Rémi Denis-Courmont [Sun, 2 Jan 2011 20:49:57 +0000 (22:49 +0200)]
Remove Christian references

Then again, many developers have Christian first names (most noticeably
"Christophe").

13 years agomakefile: another Xcode4 fix
Felix Paul Kühne [Fri, 31 Dec 2010 17:51:09 +0000 (18:51 +0100)]
makefile: another Xcode4 fix

13 years agocontribs: fixed installation of this stupid library
Felix Paul Kühne [Fri, 31 Dec 2010 17:16:09 +0000 (18:16 +0100)]
contribs: fixed installation of this stupid library

13 years agocontribs: removed cmake from Mac distro files again
Felix Paul Kühne [Fri, 31 Dec 2010 17:03:04 +0000 (18:03 +0100)]
contribs: removed cmake from Mac distro files again

This should be installed locally as it can't be crosscompiled. Recommendation: Homebrew

13 years agostream_filter/httplive.c: cleanup hls_Thread()
Jean-Paul Saman [Fri, 31 Dec 2010 15:42:22 +0000 (16:42 +0100)]
stream_filter/httplive.c: cleanup hls_Thread()

Cleanup hls_Thread().

13 years agostream_filter/httplive.c: only check p_sys->playlist.wakeup for live streams
Jean-Paul Saman [Fri, 31 Dec 2010 15:20:13 +0000 (16:20 +0100)]
stream_filter/httplive.c: only check p_sys->playlist.wakeup for live streams

Check only for live streams the member p_sys->playlist.wakeup.

13 years agostream_filter/httplive.c: Cleanup hls_thread_t and stream_sys_t structs.
Jean-Paul Saman [Fri, 31 Dec 2010 14:40:55 +0000 (15:40 +0100)]
stream_filter/httplive.c: Cleanup hls_thread_t and stream_sys_t structs.

Cleanup hls_thread_t and stream_sys_t structs:
- duplicate members
- rename hls_playlist_t to hls_playlist_s
- move download members to stream_sys_t inside a hls_download_s struct
- check for p_sys->thread is no longer needed in segment_Seek()

13 years agostream_filter/httplive.c: reloading playlist check before download segments
Jean-Paul Saman [Fri, 31 Dec 2010 14:31:49 +0000 (15:31 +0100)]
stream_filter/httplive.c: reloading playlist check before download segments

Rearrange hls_Thread logic with live playback in mind. In case all segments have been
downloaded, then make sure that reloading the playlist file happens before downloading
the next segment. This is also true when it is time to reload the playlist.

13 years agostream_filter/httplive.c: sanity checking in GetSegment()
Jean-Paul Saman [Fri, 31 Dec 2010 13:10:31 +0000 (14:10 +0100)]
stream_filter/httplive.c: sanity checking in GetSegment()

Print a warning if the download segment counter and playback segment counter are
less then 3 segments apart. Print and error if they are the same.