• Home
  • Raw
  • Download

Lines Matching refs:playbin

786   GstElement *playbin, *sink;  in create_playbin()  local
788 playbin = gst_element_factory_make ("playbin", "playbin"); in create_playbin()
789 fail_unless (playbin != NULL, "Failed to create playbin element"); in create_playbin()
799 g_object_set (playbin, "video-sink", sink, NULL); in create_playbin()
808 g_object_set (playbin, "audio-sink", sink, NULL); in create_playbin()
811 g_object_set (playbin, "uri", uri, NULL); in create_playbin()
813 return playbin; in create_playbin()
818 GstElement *playbin; in GST_START_TEST() local
836 playbin = create_playbin (uri, FALSE); in GST_START_TEST()
841 g_object_set (playbin, "audio-sink", asink, NULL); in GST_START_TEST()
843 g_signal_connect (playbin, "deep-notify::caps", in GST_START_TEST()
846 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
848 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
850 fail_unless_equals_int (gst_element_get_state (playbin, NULL, NULL, -1), in GST_START_TEST()
854 fail_if (gst_bus_poll (GST_ELEMENT_BUS (playbin), GST_MESSAGE_ERROR, in GST_START_TEST()
857 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
871 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
872 gst_object_unref (playbin); in GST_START_TEST()
879 GstElement *playbin; in GST_START_TEST() local
891 playbin = in GST_START_TEST()
899 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
901 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
904 bus = gst_element_get_bus (playbin); in GST_START_TEST()
923 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
938 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
953 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
954 gst_object_unref (playbin); in GST_START_TEST()
962 GstElement *playbin; in GST_START_TEST() local
974 playbin = create_playbin ("caps:video/x-compressed", TRUE); in GST_START_TEST()
976 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
978 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
981 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1000 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1015 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1030 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1031 gst_object_unref (playbin); in GST_START_TEST()
1039 GstElement *playbin; in GST_START_TEST() local
1053 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1056 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1058 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1061 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1080 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1095 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1110 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1111 gst_object_unref (playbin); in GST_START_TEST()
1119 GstElement *playbin; in GST_START_TEST() local
1133 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1136 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1138 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1141 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1160 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1175 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1190 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1191 gst_object_unref (playbin); in GST_START_TEST()
1199 GstElement *playbin; in GST_START_TEST() local
1211 playbin = in GST_START_TEST()
1217 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1219 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1222 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1241 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1256 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1271 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1272 gst_object_unref (playbin); in GST_START_TEST()
1280 GstElement *playbin; in GST_START_TEST() local
1292 playbin = create_playbin ("caps:audio/x-compressed", TRUE); in GST_START_TEST()
1294 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1296 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1299 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1318 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1333 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1348 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1349 gst_object_unref (playbin); in GST_START_TEST()
1357 GstElement *playbin; in GST_START_TEST() local
1371 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1374 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1376 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1379 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1398 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1413 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1428 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1429 gst_object_unref (playbin); in GST_START_TEST()
1437 GstElement *playbin; in GST_START_TEST() local
1451 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1454 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1456 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1459 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1478 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1493 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1508 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1509 gst_object_unref (playbin); in GST_START_TEST()
1517 GstElement *playbin; in GST_START_TEST() local
1531 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1534 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1536 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1539 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1558 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1573 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1588 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1589 gst_object_unref (playbin); in GST_START_TEST()
1597 GstElement *playbin; in GST_START_TEST() local
1611 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1615 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1617 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1620 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1639 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1654 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1669 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1670 gst_object_unref (playbin); in GST_START_TEST()
1678 GstElement *playbin; in GST_START_TEST() local
1692 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1695 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1697 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1700 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1719 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1732 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1746 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1747 gst_object_unref (playbin); in GST_START_TEST()
1755 GstElement *playbin; in GST_START_TEST() local
1769 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1772 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1774 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1777 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1796 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1810 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1823 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1824 gst_object_unref (playbin); in GST_START_TEST()
1834 GstElement *playbin; in GST_START_TEST() local
1849 playbin = create_playbin ("caps:application/x-container, " in GST_START_TEST()
1853 g_object_get (G_OBJECT (playbin), "audio-stream-combiner", &playbin_combiner, in GST_START_TEST()
1856 g_object_get (G_OBJECT (playbin), "text-stream-combiner", &playbin_combiner, in GST_START_TEST()
1859 g_object_get (G_OBJECT (playbin), "video-stream-combiner", &playbin_combiner, in GST_START_TEST()
1866 g_object_set (G_OBJECT (playbin), "audio-stream-combiner", adder, NULL); in GST_START_TEST()
1868 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY), in GST_START_TEST()
1870 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING), in GST_START_TEST()
1874 g_object_get (G_OBJECT (playbin), "audio-stream-combiner", &playbin_combiner, in GST_START_TEST()
1880 g_object_get (G_OBJECT (playbin), "text-stream-combiner", &playbin_combiner, in GST_START_TEST()
1883 g_object_get (G_OBJECT (playbin), "video-stream-combiner", &playbin_combiner, in GST_START_TEST()
1887 bus = gst_element_get_bus (playbin); in GST_START_TEST()
1914 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL); in GST_START_TEST()
1928 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL); in GST_START_TEST()
1942 gst_element_set_state (playbin, GST_STATE_NULL); in GST_START_TEST()
1943 gst_object_unref (playbin); in GST_START_TEST()
1951 GstElement *playbin;
1959 GstElement *playbin = ctx->playbin;
1965 g_object_get (G_OBJECT (playbin), "current-video", &cur_video, NULL);
1967 g_object_set (G_OBJECT (playbin), "current-video", cur_video, NULL);
1976 GstElement *playbin;
1992 playbin = create_playbin ("caps:application/x-container, "
1995 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
1998 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2002 switch_ctx.playbin = playbin;
2009 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING),
2012 bus = gst_element_get_bus (playbin);
2031 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2045 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2059 gst_element_set_state (playbin, GST_STATE_NULL);
2060 gst_object_unref (playbin);
2068 GstElement *playbin;
2084 playbin = create_playbin ("caps:application/x-container, "
2087 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
2090 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2094 switch_ctx.playbin = playbin;
2101 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING),
2104 bus = gst_element_get_bus (playbin);
2123 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2137 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2151 gst_element_set_state (playbin, GST_STATE_NULL);
2152 gst_object_unref (playbin);
2160 GstElement *playbin;
2176 playbin = create_playbin ("caps:application/x-container, "
2179 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
2182 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2186 switch_ctx.playbin = playbin;
2193 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING),
2196 bus = gst_element_get_bus (playbin);
2215 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2229 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2243 gst_element_set_state (playbin, GST_STATE_NULL);
2244 gst_object_unref (playbin);
2252 GstElement *playbin;
2268 playbin = create_playbin ("caps:application/x-container, "
2272 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
2275 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2279 switch_ctx.playbin = playbin;
2286 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING),
2289 bus = gst_element_get_bus (playbin);
2308 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2322 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2336 gst_element_set_state (playbin, GST_STATE_NULL);
2337 gst_object_unref (playbin);
2346 GstElement *playbin = ctx->playbin;
2352 g_object_get (G_OBJECT (playbin), "current-audio", &cur_audio, NULL);
2354 g_object_set (G_OBJECT (playbin), "current-audio", cur_audio, NULL);
2363 GstElement *playbin;
2379 playbin = create_playbin ("caps:application/x-container, "
2382 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
2385 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2389 switch_ctx.playbin = playbin;
2396 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING),
2399 bus = gst_element_get_bus (playbin);
2418 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2432 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2446 gst_element_set_state (playbin, GST_STATE_NULL);
2447 gst_object_unref (playbin);
2455 GstElement *playbin;
2471 playbin = create_playbin ("caps:application/x-container, "
2474 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
2477 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2481 switch_ctx.playbin = playbin;
2488 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING),
2491 bus = gst_element_get_bus (playbin);
2510 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2524 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2538 gst_element_set_state (playbin, GST_STATE_NULL);
2539 gst_object_unref (playbin);
2547 GstElement *playbin;
2563 playbin = create_playbin ("caps:application/x-container, "
2566 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
2569 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2573 switch_ctx.playbin = playbin;
2580 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING),
2583 bus = gst_element_get_bus (playbin);
2602 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2616 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2630 gst_element_set_state (playbin, GST_STATE_NULL);
2631 gst_object_unref (playbin);
2639 GstElement *playbin;
2655 playbin = create_playbin ("caps:application/x-container, "
2659 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
2662 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2666 switch_ctx.playbin = playbin;
2673 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PLAYING),
2676 bus = gst_element_get_bus (playbin);
2695 g_object_get (G_OBJECT (playbin), "video-sink", &sink, NULL);
2709 g_object_get (G_OBJECT (playbin), "audio-sink", &sink, NULL);
2723 gst_element_set_state (playbin, GST_STATE_NULL);
2724 gst_object_unref (playbin);