mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
libeplayer3: remove unused code
This commit is contained in:
@@ -16,7 +16,6 @@ typedef enum {
|
|||||||
OUTPUT_INIT,
|
OUTPUT_INIT,
|
||||||
OUTPUT_ADD,
|
OUTPUT_ADD,
|
||||||
OUTPUT_DEL,
|
OUTPUT_DEL,
|
||||||
OUTPUT_CAPABILITIES,
|
|
||||||
OUTPUT_PLAY,
|
OUTPUT_PLAY,
|
||||||
OUTPUT_STOP,
|
OUTPUT_STOP,
|
||||||
OUTPUT_PAUSE,
|
OUTPUT_PAUSE,
|
||||||
@@ -35,18 +34,6 @@ typedef enum {
|
|||||||
OUTPUT_GET_FRAME_COUNT,
|
OUTPUT_GET_FRAME_COUNT,
|
||||||
} OutputCmd_t;
|
} OutputCmd_t;
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
int restart_audio_resampling;
|
|
||||||
|
|
||||||
int64_t pts;
|
|
||||||
|
|
||||||
const char *type;
|
|
||||||
|
|
||||||
AVFormatContext *avfc;
|
|
||||||
AVStream *stream;
|
|
||||||
AVPacket *packet;
|
|
||||||
} AudioVideoOut_t;
|
|
||||||
|
|
||||||
struct Context_s;
|
struct Context_s;
|
||||||
typedef struct Context_s Context_t;
|
typedef struct Context_s Context_t;
|
||||||
|
|
||||||
|
@@ -68,30 +68,6 @@ static Output_t *AvailableOutput[] = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
/* ***************************** */
|
|
||||||
/* Prototypes */
|
|
||||||
/* ***************************** */
|
|
||||||
|
|
||||||
/* ***************************** */
|
|
||||||
/* MISC Functions */
|
|
||||||
/* ***************************** */
|
|
||||||
|
|
||||||
static void printOutputCapabilities()
|
|
||||||
{
|
|
||||||
int i, j;
|
|
||||||
|
|
||||||
output_printf(10, "%s::%s\n", FILENAME, __FUNCTION__);
|
|
||||||
output_printf(10, "Capabilities:\n");
|
|
||||||
|
|
||||||
for (i = 0; AvailableOutput[i] != NULL; i++) {
|
|
||||||
output_printf(10, "\t%s : ", AvailableOutput[i]->Name);
|
|
||||||
|
|
||||||
for (j = 0; AvailableOutput[i]->Capabilities[j] != NULL; j++)
|
|
||||||
output_printf(10, "%s ", AvailableOutput[i]->Capabilities[j]);
|
|
||||||
output_printf(10, "\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ***************************** */
|
/* ***************************** */
|
||||||
/* Output Functions */
|
/* Output Functions */
|
||||||
/* ***************************** */
|
/* ***************************** */
|
||||||
@@ -163,10 +139,6 @@ static int Command(Context_t *context, OutputCmd_t command, const char *argument
|
|||||||
OutputDel(context, (char *) argument);
|
OutputDel(context, (char *) argument);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case OUTPUT_CAPABILITIES:{
|
|
||||||
printOutputCapabilities();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case OUTPUT_PLAY:{ // 4
|
case OUTPUT_PLAY:{ // 4
|
||||||
if (context && context->playback) {
|
if (context && context->playback) {
|
||||||
if (context->playback->isVideo)
|
if (context->playback->isVideo)
|
||||||
|
Reference in New Issue
Block a user