/**\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
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
/* 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 */