1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 03:32:50 +00:00

report if no palette

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6482 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-06-21 16:38:53 +00:00
parent aeab39c7e6
commit 4839e62438

View File

@ -69,6 +69,12 @@ static int config(struct vf_instance_s* vf,
static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){
mp_image_t *dmpi;
if (!mpi->planes[1])
{
mp_msg(MSGT_VFILTER,MSGL_V,"[%s] no palette given\n",vf->info->name);
return;
}
// hope we'll get DR buffer:
dmpi=vf_get_image(vf->next,vf->priv->fmt,