amlv4l2dec: CB2 modify dw for mpegx [1/1]

PD#SWPL-176799

Problem:
config wrong dw for mpegx.

Solution:
refine dw config for mpegx.

Verify:
ap222

Change-Id: I31d9a25bb60e3eada9199ab53b42dfceb9eba58a
Signed-off-by: bo.xiao <bo.xiao@amlogic.com>
diff --git a/src/gstamlv4l2videodec.c b/src/gstamlv4l2videodec.c
index 7d3a7ed..f476230 100644
--- a/src/gstamlv4l2videodec.c
+++ b/src/gstamlv4l2videodec.c
@@ -786,7 +786,6 @@
 {
     GstVideoCodecFrame *frame = NULL;
     GList *frames, *l;
-    gint count = 0;
 
     GST_LOG_OBJECT (decoder, "trace in with pts: %" GST_TIME_FORMAT, GST_TIME_ARGS(pts));
 
@@ -1368,7 +1367,6 @@
     gboolean processed = FALSE;
     GstBuffer *tmp;
     GstTaskState task_state;
-    GstCaps *caps;
 
     GST_DEBUG_OBJECT(self, "Handling frame %d", frame->system_frame_number);
 
@@ -1667,6 +1665,9 @@
         gint num, denom;
 
         gst_event_parse_caps (event, &caps);
+
+        GST_DEBUG_OBJECT(self, "event caps %" GST_PTR_FORMAT, caps);
+
         structure= gst_caps_get_structure(caps, 0);
         if ( gst_structure_has_field(structure, "parsed") )
         {