diff --git a/code/Gstreamer/gstreamer-1.0.8/gsth264parse.c b/TASK_DATA/pixfix/H264parser/gsth264parse.c
index a778a94..0e21ded 100644
--- a/code/Gstreamer/gstreamer-1.0.8/gsth264parse.c
+++ b/TASK_DATA/pixfix/H264parser/gsth264parse.c
@@ -344,6 +344,30 @@ gst_h264_parse_negotiate (GstH264Parse * h264parse, gint in_format,
   }
 
   if (caps) {
+	GstStructure *src_caps_st;
+	const GValue *stream_format;
+	gint index=0;
+	const char *ai1_stream_format[3] = {"unknown", "avc", "byte-stream"};
+
+	src_caps_st = gst_caps_get_structure (caps, 0);
+
+	stream_format = gst_structure_get_value(src_caps_st,"stream-format");
+
+	if(GST_VALUE_HOLDS_LIST(stream_format))
+	{
+		const char *st_fmt = NULL;
+		for(index =0; index < gst_value_list_get_size(stream_format); index++)
+		{
+			st_fmt = g_value_get_string (gst_value_list_get_value (stream_format, index));
+
+			if(strcmp(st_fmt,ai1_stream_format[in_format]));
+			{
+				gst_structure_fixate_field_string (src_caps_st, "stream-format", ai1_stream_format[in_format]);
+				break;
+			}
+		}
+	}
+
     /* fixate to avoid ambiguity with lists when parsing */
     caps = gst_caps_fixate (caps);
     gst_h264_parse_format_from_caps (caps, &format, &align);
