From c4132ccd4fa8ae629b274ebf15e85361d70ec8ec Mon Sep 17 00:00:00 2001 From: Kovensky Date: Tue, 30 Mar 2010 20:12:21 -0300 Subject: [PATCH] Fix vf_tcdump's compilation It broke when help_mp.h was removed. No translation support was added to it though. --- libmpcodecs/vf_tcdump.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libmpcodecs/vf_tcdump.c b/libmpcodecs/vf_tcdump.c index 1a98ad6737..b27a68afcd 100644 --- a/libmpcodecs/vf_tcdump.c +++ b/libmpcodecs/vf_tcdump.c @@ -6,13 +6,11 @@ #include "config.h" #include "mp_msg.h" -#include "help_mp.h" #include "img_format.h" #include "mp_image.h" #include "vf.h" - struct vf_priv_s { char *tcv2filename; FILE *tcv2file; @@ -48,13 +46,13 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts){ if (pts == MP_NOPTS_VALUE) { if (!priv->noptswarn) { priv->noptswarn = 1; - mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_TCDumpNoPTS); + mp_msg(MSGT_VFILTER, MSGL_WARN, "Stream contains frames with no PTS, timecode file not valid (if already written)\n"); } } else { if (!priv->tcv2file && priv->tcv2filename) { priv->tcv2file = fopen(priv->tcv2filename,"w"); if (!priv->tcv2file) { - mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_TCDumpOpenFail, + mp_msg(MSGT_VFILTER, MSGL_WARN, "Unable to open timecode file: %s\n", strerror(errno)); free(priv->tcv2filename); priv->tcv2filename = NULL; -- 2.11.4.GIT