Commit Graph

765 Commits

Author SHA1 Message Date
Stefan Seyfried
042057b565 libeplayer3: add aac_adtstoasc bitstream filter
Add the aac_adtstoasc bitstream filter for AAC streams. In the
cases where it is not needed, it does not seem to hurt, and in
other cases it fixes audio playback.
TODO: improve the handling of the bsfc allocation / deallocation,
      this should go in a Track() destructor or similar.
2016-01-08 17:03:04 +01:00
Stefan Seyfried
18db6acbc2 spark/video: implicitly do StopPicture() on CVideo::Start()
This seems to be what the coolstream code does.
TODO: look out for side effects (in radio mode etc...)
2015-12-25 19:08:31 +01:00
Stefan Seyfried
d22660a4a1 add video_cs.h header to reduce number of #ifdefs needed 2015-12-25 16:28:06 +01:00
Stefan Seyfried
7613411406 ca: add SlotType parameter to SendCAPMT() 2015-12-13 16:45:27 +01:00
Stefan Seyfried
e7f5c17256 add cPlayback::GetReadCount() 2015-12-13 16:16:24 +01:00
Stefan Seyfried
d863ebc181 generic: fix build with newer openSUSE ffmpeg packages 2015-12-13 13:03:38 +01:00
Stefan Seyfried
a0037c51f0 spark: clear video in StopPicture()
this fixes video playback after audioplayer or upnp browser
2015-03-07 19:40:48 +01:00
Stefan Seyfried
49a9834ac5 spark/record: move buffer allocation outside record thread
move the allocation of the recording buffer outside the
recording thread, so that allocation failures can be
communicated as "failure to start recording" instantly
2015-03-07 18:59:04 +01:00
Stefan Seyfried
ef2df97bde libeplayer3: allow disabling of AAC hardware decoder
export HAL_AAC_SWDEC=1 before starting neutrino and
the (slow) software decoder will be used
2015-03-07 18:45:46 +01:00
max10
8f9a53e40c so it is better thx DboxOldie 2015-03-07 18:31:47 +01:00
max10
f163af47d2 add aac.cpp THX DboxOldie 2015-03-07 18:31:37 +01:00
Stefan Seyfried
00b856173d libspark/playback_libeplayer3: fix EOF signalling 2015-02-28 19:59:28 +01:00
Stefan Seyfried
0a53f3467e spark: select highest quality stream for multi-program streams 2015-02-27 20:06:01 +01:00
martii
9663f535cd libspark/hardware_caps: set has_SCART unconditionally 2015-02-27 18:31:33 +01:00
martii
3ba5512abc libspark: complement vendor ids 2015-02-27 18:30:59 +01:00
martii
0ec87d5a95 libspark/hardware_caps: recognize dvfd [untested] 2015-02-27 18:30:00 +01:00
martii
908df1e86e libspark/hw_caps: check vfd version first (needed to discriminate between Pingulux and Pingulux Plus) 2015-02-27 18:29:44 +01:00
Stefan Seyfried
ab076a85f8 spark: do not freeze/continue in GetScreenImage() 2015-02-25 21:47:36 +01:00
Stefan Seyfried
0dc812e80f spark: implement GetScreenImage for video and audio 2015-02-25 00:51:10 +01:00
Stefan Seyfried
3b6333cc59 spark: implement cRecord::GetStatus() 2015-02-22 22:23:59 +01:00
Stefan Seyfried
1df6cfc16d libspark: port a prior version of martii's cRecord
This imports most of the changes of martii's cRecord
https://gitorious.org/neutrino-hd/martiis-libstb-hal,
commmit 23bea61473
2015-02-22 22:21:33 +01:00
Stefan Seyfried
efb860f20d libtriple: remove absolute file names 2015-02-22 12:33:20 +01:00
Stefan Seyfried
f5e9cceb64 libeplayer3: remove absolute file names
this makes debug output nicer to read for out-of-tree builds
2015-02-22 12:08:47 +01:00
Stefan Seyfried
5007debb3a libspark: tone down cDemux debug messages 2015-02-21 22:26:25 +01:00
Stefan Seyfried
5904b79e38 spark: remove dead code from cDemux 2015-02-21 22:25:29 +01:00
Stefan Seyfried
5830d4adc3 spark: remove videodecoder hack from dmx destructor 2015-02-21 22:14:47 +01:00
Stefan Seyfried
d09ff5bb29 Revert "libspark/dmx: try to fix mysterious crash with gcc4.9"
This reverts commit 860d6bdbe7.

as known by now, this had nothing to do with gcc4.9, but with
the cDemux destructor racing with cDemux::Read()
2015-02-20 09:37:34 +01:00
Stefan Seyfried
2bb5b8e8a9 libspark/playback: fix hds streams by selecting a program
right now there is no way to specify which program to play,
just the first one is selected
2015-02-20 09:34:36 +01:00
Stefan Seyfried
e878f5f751 spark: fix race condition in cDemux
cDemux destructor was racing with Read() which did lead to all
sorts of nasty crashes because after poll returned, the dmx object
could be gone and its memory replaced with totally different things.
2015-02-20 09:30:19 +01:00
Stefan Seyfried
860d6bdbe7 libspark/dmx: try to fix mysterious crash with gcc4.9 2015-02-15 19:54:37 +01:00
Stefan Seyfried
8e36402902 libeplayer3: try to fix dynamic linking 2015-02-13 19:55:54 +01:00
Stefan Seyfried
d1674e2327 libspark/playback_libeplayer3: switch to lt_info/lt_debug 2015-02-13 19:26:12 +01:00
Stefan Seyfried
62283244b4 spark: fix compiler warning in CVideo 2015-02-13 19:13:05 +01:00
martii
4e02a62e48 libspark/video: add missing newline 2015-02-13 18:33:38 +01:00
martii
8dd2a4091b libspark/video: ShowPicture: use VIDEO_STILLPICTURE 2015-02-13 18:32:02 +01:00
Stefan Seyfried
2f24c2bcba libspark/irmp: fix compiler warning 2015-02-13 18:20:58 +01:00
Stefan Seyfried
c2d2be320f libeplayer3: fix compiler warning 2015-02-13 18:15:48 +01:00
Stefan Seyfried
64f4702691 includes: remove *_td.h, we use is *_hal.h now 2015-02-13 18:13:10 +01:00
Stefan Seyfried
78f49580e0 use audio_hal.h and dmx_hal.h instead of *_td.h 2015-02-13 18:11:16 +01:00
Stefan Seyfried
100830e805 spark: use pkg-config for ffmpeg ldflags 2015-02-13 18:08:46 +01:00
Stefan Seyfried
d4365037f6 libeplayer: disable subtitle code
current neutrino is not prepared for this, so comment
it out to fix linking
2015-02-13 17:57:55 +01:00
Stefan Seyfried
dc5067e5d2 playback_libeplayer3: mention contributors in file header 2015-02-13 17:56:41 +01:00
Stefan Seyfried
270e282d1f spark: adpapt playback_libeplayer3 to martii's eplayer3 code
Most of this code is from martii, (see the original repo at
https://gitorious.org/neutrino-hd/martiis-libstb-hal). Unfortunately
our code bases have diverged enough that a proper merge or cherry-
picking with git, preserving authorship and history was not possible.
I do not claim authorship for most of this.
2015-02-13 17:48:47 +01:00
Stefan Seyfried
535b12d63a Merge branch 'martii-libeplayer3'
This merges the libeplayer3 changes from martii.
Does not even compile yet, libspark/player code needs
to be fixed first.

Conflicts:
  libeplayer3/Makefile.am libeplayer3/README
  libeplayer3/include/manager.h libeplayer3/include/misc.h
  libeplayer3/include/output.h libeplayer3/include/pes.h
  libeplayer3/include/writer.h
2015-02-13 11:58:21 +01:00
Stefan Seyfried
fc799dc6bf triple: remove videodecoder hack from dmx destructor 2015-02-06 19:56:19 +01:00
Stefan Seyfried
56e6d04719 triple: set audioDecoder to NULL in destructor
this avoids blowing up in the CPlayback destructor
2015-02-06 19:52:49 +01:00
Stefan Seyfried
746fe7bf87 triple: abuse dmx->getBuffer as 'dmx running' indicator 2015-02-06 19:46:30 +01:00
Stefan Seyfried
757f7de70c libeplayer3: add "subdir-objects" automake option 2015-01-26 10:20:48 +01:00
martii
67a6810022 libeplayer3/manager: use AVDISCARD_NONE instead of AVDISCARD_DEFAULT to disable programs 2014-08-31 12:36:22 +02:00
martii
79c203676f libeplayer3/h264: partially revert 9112c4d16d 2014-08-25 18:36:23 +02:00