mpeg2dec: remove file no longer used or needed
authorTim-Philipp Müller <tim@centricular.com>
Fri, 19 Aug 2016 12:01:39 +0000 (13:01 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 19 Aug 2016 12:01:39 +0000 (13:01 +0100)
ext/mpeg2dec/perftest.c [deleted file]

diff --git a/ext/mpeg2dec/perftest.c b/ext/mpeg2dec/perftest.c
deleted file mode 100644 (file)
index e5f10f6..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-#include <gst/gst.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <inttypes.h>
-
-#include "output_video.h"
-#include "gstmpeg2dec.h"
-
-
-void
-new_frame (char *buf, void *data, uint64_t timestamp)
-{
-  g_print (".");
-}
-
-
-int
-main (int argc, char *argv[])
-{
-  int fd, count = 20000;
-  mpeg2dec_t *decoder;
-  char buffer[2048];
-
-  fd = open (argv[1], O_RDONLY);
-
-  gst_init (&argc, &argv);
-  mpeg2_init (decoder, new_frame, NULL);
-
-  while (read (fd, buffer, 2048) && count--) {
-    mpeg2_decode_data (decoder, buffer, buffer + 2048);
-  }
-  g_print ("\n");
-}