mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
libspark: make cPlayback build... by disabling playback ;)
Origin commit data
------------------
Branch: master
Commit: edbfbdecf6
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-05 (Sun, 05 Feb 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -23,5 +23,6 @@ if BOXTYPE_SPARK
|
||||
SUBDIRS += libspark
|
||||
libstb_hal_a_LIBADD += \
|
||||
libspark/audio.o \
|
||||
libspark/playback.o \
|
||||
libspark/video.o
|
||||
endif
|
||||
|
@@ -15,8 +15,7 @@
|
||||
#define lt_info(args...) _lt_info(TRIPLE_DEBUG_PLAYBACK, this, args)
|
||||
#define lt_info_c(args...) _lt_info(TRIPLE_DEBUG_PLAYBACK, NULL, args)
|
||||
|
||||
#include <tddevices.h>
|
||||
#define DVR "/dev/" DEVICE_NAME_PVR
|
||||
#define DVR "/dev/dvb/adapter0/pvr0"
|
||||
|
||||
static int mp_syncPES(uint8_t *, int, bool quiet = false);
|
||||
static int sync_ts(uint8_t *, int);
|
||||
@@ -252,6 +251,7 @@ static void *start_playthread(void *c)
|
||||
|
||||
void cPlayback::playthread(void)
|
||||
{
|
||||
#if 0
|
||||
thread_started = true;
|
||||
int ret, towrite;
|
||||
dvrfd = open(DVR, O_WRONLY);
|
||||
@@ -343,12 +343,13 @@ void cPlayback::playthread(void)
|
||||
|
||||
pthread_cleanup_pop(1);
|
||||
pthread_exit(NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void playthread_cleanup_handler(void *)
|
||||
{
|
||||
lt_info_c("%s\n", __FUNCTION__);
|
||||
ioctl(audioDemux->getFD(), DEMUX_SELECT_SOURCE, INPUT_FROM_CHANNEL0);
|
||||
// ioctl(audioDemux->getFD(), DEMUX_SELECT_SOURCE, INPUT_FROM_CHANNEL0);
|
||||
audioDemux->Stop();
|
||||
videoDemux->Stop();
|
||||
audioDecoder->Stop();
|
||||
|
Reference in New Issue
Block a user