Turn out remaining gst-1.0 code 66/3566/1
authorRusty Lynch <rusty.lynch@intel.com>
Sat, 18 May 2013 20:38:05 +0000 (13:38 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Sat, 18 May 2013 20:38:05 +0000 (13:38 -0700)
src/mm_player_capture.c
src/mm_player_utils.c

index 98e4c7be25ca9a39e35efbca91b9868992058795..8b0e29ccce3a77afa9af45784f6a8eaf3d17f733 100755 (executable)
@@ -322,7 +322,6 @@ EXIT:
 /**\r
   * The output is fixed as RGB888\r
   */\r
-#if 0\r
 #ifdef GST_API_VERSION_1\r
 static int\r
 __mmplayer_get_video_frame_from_buffer(mm_player_t* player, GstBuffer *buffer)\r
@@ -654,7 +653,6 @@ UNKNOWN:
        return MM_ERROR_PLAYER_INTERNAL;\r
 }\r
 #endif\r
-#endif\r
 \r
 static gboolean\r
 __mmplayer_video_capture_probe (GstPad *pad, GstBuffer *buffer, gpointer u_data)\r
index 0337a52efa690be7505776de3dc7553831243d0c..778049fb160ca1569f2c2c9e7d757ccd2dbcf4bf 100644 (file)
@@ -231,7 +231,9 @@ __util_gst_pad_probe(GstPad *pad, GstBuffer *buffer, gpointer u_data)
        /* show buffer caps */
        if ( flag & MM_PROBE_CAPS )
        {
+#ifndef GST_API_VERSION_1
                debug_warning("caps : %s\n", gst_caps_to_string(GST_BUFFER_CAPS(buffer)));
+#endif
        }
 
        /* drop buffer if flag is on */