diff options
author | Rob Clark <rob@ti.com> | 2011-01-10 11:38:15 -0600 |
---|---|---|
committer | Rob Clark <rob@ti.com> | 2011-01-10 11:38:15 -0600 |
commit | 266e4200aac32ceaece4b76a78a8741e9c3a03b5 (patch) | |
tree | 0899006566b91f0a7ae83a97d03e304e58705912 | |
parent | 3a32e3f37c111b3fc02da18e07482f831ebaa3b8 (diff) |
rvdec: fix compile errors
gstducatirvdec.c: In function 'gst_ducati_rvdec_allocate_params': error: unused variable 'params
gstducatirvdec.c: In function 'gst_ducati_rvdec_allocate_params': error: unused variable 'params
-rw-r--r-- | src/gstducatirvdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gstducatirvdec.c b/src/gstducatirvdec.c index adb7b6c..bd1eab3 100644 --- a/src/gstducatirvdec.c +++ b/src/gstducatirvdec.c @@ -105,7 +105,7 @@ gst_ducati_rvdec_allocate_params (GstDucatiVidDec * vdec, gint params_sz, sizeof (IrealVDEC_OutArgs)); if (ret) { - IrealVDEC_Params *params = (IrealVDEC_Params *) vdec->params; + /*IrealVDEC_Params *params = (IrealVDEC_Params *) vdec->params;*/ vdec->params->displayDelay = IVIDDEC3_DISPLAY_DELAY_1; vdec->dynParams->newFrameFlag = FALSE; vdec->dynParams->lateAcquireArg = -1; @@ -136,9 +136,9 @@ gst_ducati_rvdec_push_input (GstDucatiVidDec * vdec, GstBuffer * buf) /* stream type */ if (self->rmversion == 3) { - push_input (vdec, "VIDORV30", 8); + push_input (vdec, (guint8 *)"VIDORV30", 8); } else if (self->rmversion == 4) { - push_input (vdec, "VIDORV40", 8); + push_input (vdec, (guint8 *)"VIDORV40", 8); } /* horiz x vert resolution */ |