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:
parent
aeab39c7e6
commit
4839e62438
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user