summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dxr3/video_out_dxr3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c
index 74b24cd01..fdf97240a 100644
--- a/src/dxr3/video_out_dxr3.c
+++ b/src/dxr3/video_out_dxr3.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: video_out_dxr3.c,v 1.108 2005/04/10 09:36:13 tmattern Exp $
+ * $Id: video_out_dxr3.c,v 1.109 2005/04/10 09:41:13 tmattern Exp $
*/
/* mpeg1 encoding video out plugin for the dxr3.
@@ -299,8 +299,8 @@ static vo_driver_t *dxr3_vo_open_plugin(video_driver_class_t *class_gen, const v
#endif
/* check, if ffmpeg plugin is available by looking through plugin
* catalog; catalog mutex is already locked here, since this is open_plugin() */
- for (node = xine_list_first_content(class->xine->plugin_catalog->plugin_lists[PLUGIN_VIDEO_DECODER]); node;
- node = xine_list_next_content(class->xine->plugin_catalog->plugin_lists[PLUGIN_VIDEO_DECODER]))
+ for (node = xine_list_first_content(class->xine->plugin_catalog->plugin_lists[PLUGIN_VIDEO_DECODER - 1]); node;
+ node = xine_list_next_content(class->xine->plugin_catalog->plugin_lists[PLUGIN_VIDEO_DECODER - 1]))
if (strcasecmp(node->info->id, "ffmpegvideo") == 0) {
available_encoders[encoder++] = "libavcodec";
#if LOG_VID