Changeset 32130
- Timestamp:
- 01/06/15 13:15:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/player.h
r32124 r32130 719 719 720 720 if(ostrstr(tmpfile, "file://") == NULL) 721 status.playercan = 0x7E7F; 721 //status.playercan = 0x7E7F; 722 status.playercan = 0x7FFF; 722 723 else 723 status.playercan = 0x7E7F; 724 //status.playercan = 0x7E7F; 725 status.playercan = 0x7FFF; 724 726 725 727 pipeline = gst_element_factory_make("playbin2", "playbin"); … … 2322 2324 if(type > 3) 2323 2325 { 2324 printf("type %i nicht unterst ützt\n", type);2326 printf("type %i nicht unterst�tzt\n", type); 2325 2327 return -1; 2326 2328 } … … 2543 2545 g_print("video stream %d:\n", i); 2544 2546 gst_tag_list_get_string(tags, GST_TAG_VIDEO_CODEC, &str); 2545 g_print(" 2547 g_print("� codec: %s\n", str ? str : "unknown"); 2546 2548 g_free(str); 2547 2549 gst_tag_list_free(tags); … … 2560 2562 if(gst_tag_list_get_string (tags, GST_TAG_AUDIO_CODEC, &str)) 2561 2563 { 2562 g_print(" 2564 g_print("� codec: %s\n", str); 2563 2565 g_free(str); 2564 2566 } 2565 2567 if(gst_tag_list_get_string (tags, GST_TAG_LANGUAGE_CODE, &str)) 2566 2568 { 2567 g_print(" 2569 g_print("� language: %s\n", str); 2568 2570 g_free(str); 2569 2571 } 2570 2572 if(gst_tag_list_get_uint (tags, GST_TAG_BITRATE, &rate)) 2571 2573 { 2572 g_print(" 2574 g_print("� bitrate: %d\n", rate); 2573 2575 } 2574 2576 gst_tag_list_free(tags); … … 2587 2589 if(gst_tag_list_get_string (tags, GST_TAG_LANGUAGE_CODE, &str)) 2588 2590 { 2589 g_print(" 2591 g_print("� language: %s\n", str); 2590 2592 g_free(str); 2591 2593 } … … 2594 2596 else 2595 2597 { 2596 g_print(" 2598 g_print("� no tags found\n"); 2597 2599 } 2598 2600 }
Note: See TracChangeset
for help on using the changeset viewer.