mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
- formatting code using astyle
Conflicts: libarmbox/dmx.cpp libgeneric-pc/video_lib.h libspark/dmx.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "playback_lib.h"
|
||||
|
||||
static const char * FILENAME = "playback-dummy";
|
||||
static const char *FILENAME = "playback-dummy";
|
||||
|
||||
bool cPlayback::Open(playmode_t)
|
||||
{
|
||||
@@ -15,13 +15,13 @@ void cPlayback::Close(void)
|
||||
|
||||
bool cPlayback::Start(std::string filename, std::string headers)
|
||||
{
|
||||
return Start((char*) filename.c_str(),0,0,0,0,0, headers);
|
||||
return Start((char *) filename.c_str(), 0, 0, 0, 0, 0, headers);
|
||||
}
|
||||
|
||||
bool cPlayback::Start(char *filename, int vpid, int vtype, int apid, int ac3, int duration, std::string /*headers*/)
|
||||
{
|
||||
printf("%s:%s - filename=%s vpid=%u vtype=%d apid=%u ac3=%d duration=%i\n",
|
||||
FILENAME, __func__, filename, vpid, vtype, apid, ac3, duration);
|
||||
FILENAME, __func__, filename, vpid, vtype, apid, ac3, duration);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ bool cPlayback::GetPosition(int &position, int &duration)
|
||||
|
||||
bool cPlayback::SetPosition(int position, bool)
|
||||
{
|
||||
printf("%s:%s %d\n", FILENAME, __func__,position);
|
||||
printf("%s:%s %d\n", FILENAME, __func__, position);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user