libeplayer3: remove unused code

This commit is contained in:
martii
2014-04-06 11:39:11 +02:00
parent 889d68740c
commit 70f58d2cf5
2 changed files with 0 additions and 41 deletions

View File

@@ -16,7 +16,6 @@ typedef enum {
OUTPUT_INIT,
OUTPUT_ADD,
OUTPUT_DEL,
OUTPUT_CAPABILITIES,
OUTPUT_PLAY,
OUTPUT_STOP,
OUTPUT_PAUSE,
@@ -35,18 +34,6 @@ typedef enum {
OUTPUT_GET_FRAME_COUNT,
} 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;
typedef struct Context_s Context_t;

View File

@@ -68,30 +68,6 @@ static Output_t *AvailableOutput[] = {
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 */
/* ***************************** */
@@ -163,10 +139,6 @@ static int Command(Context_t *context, OutputCmd_t command, const char *argument
OutputDel(context, (char *) argument);
break;
}
case OUTPUT_CAPABILITIES:{
printOutputCapabilities();
break;
}
case OUTPUT_PLAY:{ // 4
if (context && context->playback) {
if (context->playback->isVideo)