summaryrefslogtreecommitdiff
path: root/src/xine-engine
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-15 14:00:35 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-15 14:00:35 +0000
commit443d766f9506dfcc19de9c8fc224a61a0922f722 (patch)
treeadb40f0b8997f9d28de758cb3a3d82e4f3151189 /src/xine-engine
parent570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b (diff)
downloadxine-lib-443d766f9506dfcc19de9c8fc224a61a0922f722.tar.gz
xine-lib-443d766f9506dfcc19de9c8fc224a61a0922f722.tar.bz2
change demux api:
- demuxers should not access stream->demux_thread_running - remove deprecated get_video_frame/got_video_frame_cb CVS patchset: 5732 CVS date: 2003/11/15 14:00:35
Diffstat (limited to 'src/xine-engine')
-rw-r--r--src/xine-engine/xine.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index dfbaf865d..2e28fc6fc 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine.c,v 1.263 2003/11/15 13:01:01 miguelfreitas Exp $
+ * $Id: xine.c,v 1.264 2003/11/15 14:00:35 miguelfreitas Exp $
*/
/*
@@ -964,7 +964,8 @@ static int xine_play_internal (xine_stream_t *stream, int start_pos, int start_t
/* seek to new position (no data is sent to decoders yet) */
demux_status = stream->demux_plugin->seek (stream->demux_plugin,
- pos, start_time);
+ pos, start_time,
+ stream->demux_thread_running);
stream->demux_action_pending = 0;
@@ -1494,24 +1495,9 @@ int xine_get_video_frame (xine_stream_t *stream,
int *duration, /* msec */
int *format,
uint8_t *img) {
- int ret;
-
- pthread_mutex_lock (&stream->frontend_lock);
-
- if (stream->status != XINE_STATUS_STOP)
- xine_stop_internal (stream);
-
- if (stream->demux_plugin->get_video_frame)
- ret = stream->demux_plugin->get_video_frame (stream->demux_plugin,
- timestamp, width, height,
- ratio_code, duration,
- format, img);
- else
- ret = 0;
-
- pthread_mutex_unlock (&stream->frontend_lock);
-
- return ret;
+ printf ("xine: xine_get_video_frame not implemented yet.\n");
+ abort ();
+ return 0;
}
int xine_get_spu_lang (xine_stream_t *stream, int channel, char *lang) {