summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-03 13:50:26 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-03 13:50:26 +0200
commit1d976093b3411bb9a36ae2021ae5c1b11430e851 (patch)
tree6bf375c81678add06fd5bbc6fa398fd32c4f0a99
parentbc0e77e9e73b2bf687a690ef644e8a509c3c9e32 (diff)
downloadxine-lib-1d976093b3411bb9a36ae2021ae5c1b11430e851.tar.gz
xine-lib-1d976093b3411bb9a36ae2021ae5c1b11430e851.tar.bz2
Get rid of xine_get_video_frame as it was nevere implemented.
-rw-r--r--include/xine.h14
-rw-r--r--src/xine-engine/xine.c12
2 files changed, 0 insertions, 26 deletions
diff --git a/include/xine.h b/include/xine.h
index b96fdcf84..dc9d16833 100644
--- a/include/xine.h
+++ b/include/xine.h
@@ -512,20 +512,6 @@ int xine_get_next_audio_frame (xine_audio_port_t *port,
void xine_free_audio_frame (xine_audio_port_t *port, xine_audio_frame_t *frame) XINE_PROTECTED;
- /*
- * maybe future aproach:
- */
-
-int xine_get_video_frame (xine_stream_t *stream,
- int timestamp, /* msec */
- int *width, int *height,
- int *ratio_code,
- int *duration, /* msec */
- int *format,
- uint8_t *img) XINE_PROTECTED;
-
-/* TODO: xine_get_audio_frame */
-
#endif
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 5c8d0be9d..6269e537e 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -2111,18 +2111,6 @@ int xine_get_current_frame (xine_stream_t *stream, int *width, int *height,
return _x_get_current_frame_impl(stream, width, height, ratio_code, format, &img, NULL, 0);
}
-int xine_get_video_frame (xine_stream_t *stream,
- int timestamp, /* msec */
- int *width, int *height,
- int *ratio_code,
- int *duration, /* msec */
- int *format,
- uint8_t *img) {
- xprintf (stream->xine, XINE_VERBOSITY_DEBUG, "xine: xine_get_video_frame not implemented yet.\n");
- _x_abort ();
- return 0;
-}
-
int xine_get_spu_lang (xine_stream_t *stream, int channel, char *lang) {
/* Ask the demuxer first (e.g. TS extracts this information from